]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/spirit/doc/x3/include.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / spirit / doc / x3 / include.qbk
CommitLineData
7c673cae
FG
1[/==============================================================================
2 Copyright (C) 2001-2015 Joel de Guzman
3 Copyright (C) 2001-2011 Hartmut Kaiser
4
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7===============================================================================/]
8
9[section Include]
10
11Spirit is a header file only library. There are no libraries to link to.
12To use Spirit X3 simply include:
13
14 #include <boost/spirit/home/x3.hpp>
15
16To distinguish between Spirit versions, you can inspect the version file:
17
18 #include <boost/spirit/home/x3/version.hpp>
19
20using the preprocessor define
21
22 SPIRIT_X3_VERSION
23
24It is a hex number where the first two digits determine the major version while
25the last two digits determine the minor version. For example:
26
27 #define SPIRIT_VERSION 0x3000 // version 3.0
28
29[endsect] [/Include]