]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/doc/lex/basics.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / spirit / doc / lex / basics.qbk
1 [/==============================================================================
2 Copyright (C) 2001-2011 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:lex_basics Basics]
10
11 [heading Examples]
12
13 All sections in the reference present some real world examples. The
14 examples use a common test harness to keep the example code as minimal
15 and direct to the point as possible. The test harness is presented
16 below.
17
18 Some includes:
19
20 [reference_lex_includes]
21
22 Our test functions:
23
24 This one tests token definitions.
25
26 [reference_lex_test]
27
28 [heading Models]
29
30 Predefined models include:
31
32 * any literal string, e.g. "Hello, World",
33 * a pointer/reference to a null-terminated array of characters
34 * a `std::basic_string<Char>`
35
36 The namespace `boost::spirit::traits` is open for users to provide their
37 own specializations.
38
39 [endsect]
40