1 #ifndef BOOST_METAPARSE_GETTING_STARTED_11_3_2_HPP 2 #define BOOST_METAPARSE_GETTING_STARTED_11_3_2_HPP 3 4 // Automatically generated header file 5 6 // Definitions before section 11.3.1 7 #include "11_3_1.hpp" 8 9 // Definitions of section 11.3.1 10 #include <boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp> 11 12 struct plus_exp5 : 13 foldl_reject_incomplete_start_with_parser< 14 sequence<one_of<plus_token, minus_token>, mult_exp6>, 15 mult_exp6, 16 boost::mpl::quote2<binary_op> 17 > {}; 18 19 using exp_parser22 = build_parser<plus_exp5>; 20 21 // query: 22 // exp_parser22::apply<BOOST_METAPARSE_STRING("0+(1+2")>::type 23 24 #endif 25 26