11_3_2.hpp 622 B

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