4_1.hpp 606 B

123456789101112131415161718192021222324252627
  1. #ifndef BOOST_METAPARSE_GETTING_STARTED_4_1_HPP
  2. #define BOOST_METAPARSE_GETTING_STARTED_4_1_HPP
  3. // Automatically generated header file
  4. // Definitions before section 4
  5. #include "4.hpp"
  6. // Definitions of section 4
  7. #include <boost/metaparse/lit_c.hpp>
  8. #include <boost/metaparse/sequence.hpp>
  9. using exp_parser4 = build_parser<sequence<token<int_>, token<lit_c<'+'>>, token<int_>>>;
  10. // query:
  11. // exp_parser4::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
  12. #ifdef __METASHELL
  13. #include <metashell/formatter.hpp>
  14. #endif
  15. // query:
  16. // exp_parser4::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
  17. #endif