Home
last modified time | relevance | path

Searched refs:BOOST_METAPARSE_STRING (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/boost/libs/metaparse/doc/
DBOOST_METAPARSE_STRING.qbk1 [#BOOST_METAPARSE_STRING]
2 [section BOOST_METAPARSE_STRING]
6 #define BOOST_METAPARSE_STRING(s) \
24 On platforms where `BOOST_METAPARSE_STRING` is not supported, the `string.hpp`
27 `BOOST_METAPARSE_STRING` macro.
30 implementation of the `BOOST_METAPARSE_STRING` macro is generated using
49 BOOST_METAPARSE_STRING("hello")
65 using hello2 = BOOST_METAPARSE_STRING("Hello");
70 BOOST_METAPARSE_STRING("Hello")
84 BOOST_METAPARSE_STRING("A longer string")
Dperformance.qbk4 [section Benchmarks of BOOST_METAPARSE_STRING]
7 [link BOOST_METAPARSE_STRING `BOOST_METAPARSE_STRING`] macro.
45 [[`printf<BOOST_METAPARSE_STRING("%f")>(1.0)`] [4.95]]
46 [[`printf<BOOST_METAPARSE_STRING("%f%f")>(1.0, 2.0)`] [5.26]]
47 [[`printf<BOOST_METAPARSE_STRING("%f%f%f")>(1.0, 2.0, 3.0)`] [5.50]]
48 [[`printf<BOOST_METAPARSE_STRING("%f%f%f%f")>(1.0, 2.0, 3.0, 4.0)`] [5.82]]
49 [[`printf<BOOST_METAPARSE_STRING("%f%f%f%f%f")>(1.0, 2.0, 3.0, 4.0, 5.0)`] [6.07]]
Dgrammar.qbk6 template <class StartSymbol = BOOST_METAPARSE_STRING("S")>
39 ::rule<BOOST_METAPARSE_STRING("name ::= def")>
40 ::rule<BOOST_METAPARSE_STRING("name ::= def"), semantic_action>
62 ::import<BOOST_METAPARSE_STRING("name"), parser>
119 grammar<BOOST_METAPARSE_STRING("plus_exp")>
120 ::import<BOOST_METAPARSE_STRING("int_token"), token<int_>>::type
122 ::rule<BOOST_METAPARSE_STRING("ws ::= (' ' | '\n' | '\r' | '\t')*")>::type
123 ::rule<BOOST_METAPARSE_STRING("plus_token ::= '+' ws"), front<_1>>::type
124 …::rule<BOOST_METAPARSE_STRING("plus_exp ::= int_token (plus_token int_token)*"), plus_action>::type
130 plus_parser::apply<BOOST_METAPARSE_STRING("1 + 2 + 3 + 4")>::type::value == 10,
Dempty.qbk45 using want_empty = empty<BOOST_METAPARSE_STRING("result")>;
48 !is_error<want_empty::apply<BOOST_METAPARSE_STRING(""), start>>::type::value,
53 is_error<want_empty::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
59 get_result<want_empty::apply<BOOST_METAPARSE_STRING(""), start>>::type,
60 BOOST_METAPARSE_STRING("result")
Dtoken.qbk51 int_token::apply<BOOST_METAPARSE_STRING("13 "), start>
58 BOOST_METAPARSE_STRING(""),
59 get_remaining<int_token::apply<BOOST_METAPARSE_STRING("13 "), start>>::type
66 int_token::apply<BOOST_METAPARSE_STRING("13"), start>
72 is_error<int_token::apply<BOOST_METAPARSE_STRING("foo"), start>>::type::value,
Dget_remaining.qbk40 BOOST_METAPARSE_STRING("foo"),
47 BOOST_METAPARSE_STRING("foo"),
51 BOOST_METAPARSE_STRING("foo"),
61 BOOST_METAPARSE_STRING("foo"),
Dalphanum.qbk38 !is_error<alphanum::apply<BOOST_METAPARSE_STRING("0"), start>>::type::value,
43 !is_error<alphanum::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
49 alphanum::apply<BOOST_METAPARSE_STRING("x"), start>
55 is_error<alphanum::apply<BOOST_METAPARSE_STRING(","), start>>::type::value,
Done_char.qbk38 `one_char::apply<BOOST_METAPARSE_STRING(""), pos>` returns an error for every
56 one_char::apply<BOOST_METAPARSE_STRING("foo"), start>
63 BOOST_METAPARSE_STRING("oo"),
64 get_remaining<one_char::apply<BOOST_METAPARSE_STRING("foo"), start>>::type
70 is_error<one_char::apply<BOOST_METAPARSE_STRING(""), start>>::type::value,
Dstring.qbk21 [link BOOST_METAPARSE_STRING `BOOST_METAPARSE_STRING`] macro.
43 using hello2 = BOOST_METAPARSE_STRING("Hello");
48 BOOST_METAPARSE_STRING("Hello")
Dkeyword.qbk49 keyword<BOOST_METAPARSE_STRING("for"), std::integral_constant<int, 13>>
50 ::apply<BOOST_METAPARSE_STRING("for"), start>
57 keyword<BOOST_METAPARSE_STRING("for"), std::integral_constant<int, 13>>
58 ::apply<BOOST_METAPARSE_STRING("if"), start>
Dlook_ahead.qbk58 look_ahead<int_>::apply<BOOST_METAPARSE_STRING("13"), start>
65 BOOST_METAPARSE_STRING("13"),
67 look_ahead<int_>::apply<BOOST_METAPARSE_STRING("13"), start>
75 look_ahead<int_>::apply<BOOST_METAPARSE_STRING("six"), start>
Dchange_error_message.qbk57 using keyword_name = token<keyword<BOOST_METAPARSE_STRING("name")>>;
65 name_parser::apply<BOOST_METAPARSE_STRING("name Bela"), start>
72 name_parser::apply<BOOST_METAPARSE_STRING("name ?"), start>
80 name_parser::apply<BOOST_METAPARSE_STRING("name ?"), start>
Dspaces.qbk41 BOOST_METAPARSE_STRING("foo"),
42 get_remaining<spaces::apply<BOOST_METAPARSE_STRING(" foo"), start>>::type
48 is_error<spaces::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
Dspace.qbk41 BOOST_METAPARSE_STRING(" foo"),
42 get_remaining<space::apply<BOOST_METAPARSE_STRING(" foo"), start>>::type
48 is_error<space::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
Ddigit.qbk38 !is_error<digit::apply<BOOST_METAPARSE_STRING("0"), start>>::type::value,
43 is_error<digit::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
49 digit::apply<BOOST_METAPARSE_STRING("0"), start>
Dletter.qbk38 !is_error<letter::apply<BOOST_METAPARSE_STRING("a"), start>>::type::value,
43 is_error<letter::apply<BOOST_METAPARSE_STRING("0"), start>>::type::value,
49 letter::apply<BOOST_METAPARSE_STRING("z"), start>
Ddigit_val.qbk38 !is_error<digit_val::apply<BOOST_METAPARSE_STRING("0"), start>>::type::value,
43 is_error<digit_val::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
49 digit_val::apply<BOOST_METAPARSE_STRING("0"), start>
Dgetting_started_30.qbk3 exp_parser18::apply<BOOST_METAPARSE_STRING("---13")>::type
4 exp_parser18::apply<BOOST_METAPARSE_STRING("13")>::type
Dlit_c.qbk44 is_error<lit_c<'x'>::apply<BOOST_METAPARSE_STRING("a"), start>>::type::value,
49 is_error<lit_c<'x'>::apply<BOOST_METAPARSE_STRING(""), start>>::type::value,
55 lit_c<'x'>::apply<BOOST_METAPARSE_STRING("x"), start>
Dtransform_error_message.qbk68 using keyword_name = token<keyword<BOOST_METAPARSE_STRING("name")>>;
79 name_parser::apply<BOOST_METAPARSE_STRING("name Bela"), start>
86 name_parser::apply<BOOST_METAPARSE_STRING("name ?"), start>
94 name_parser::apply<BOOST_METAPARSE_STRING("name ?"), start>
Drange_c.qbk51 !is_error<one_digit::apply<BOOST_METAPARSE_STRING("0"), start>>::type::value,
56 is_error<one_digit::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
62 one_digit::apply<BOOST_METAPARSE_STRING("0"), start>
Dalways_c.qbk49 !is_error<always13::apply<BOOST_METAPARSE_STRING("x"), start>>::type::value,
55 get_result<always13::apply<BOOST_METAPARSE_STRING("x"), start>>::type,
62 is_error<always13::apply<BOOST_METAPARSE_STRING("y"), start>>::type::value,
/third_party/boost/boost/metaparse/
Dstring.hpp14 #ifdef BOOST_METAPARSE_STRING
15 # error BOOST_METAPARSE_STRING already defined
17 #define BOOST_METAPARSE_STRING BOOST_METAPARSE_V1_STRING macro
/third_party/boost/libs/metaparse/test/
DBOOST_METAPARSE_STRING.cpp24 is_same<string<'a', 'b', 'c', 'd'>, BOOST_METAPARSE_STRING("abcd")> in BOOST_METAPARSE_TEST_CASE()
35 BOOST_METAPARSE_STRING("abcdefgh")> in BOOST_METAPARSE_TEST_CASE()
52 BOOST_METAPARSE_STRING( in BOOST_METAPARSE_TEST_CASE()
/third_party/boost/libs/metaparse/tools/benchmark/src/
Dmax_length.cpp16 TEST_STRING(BOOST_METAPARSE_STRING("\x0$j"))
19 TEST_STRING(BOOST_METAPARSE_STRING("\x$j"))

12345