123456789101112131415161718192021222324252627 |
- #ifndef BOOST_METAPARSE_GETTING_STARTED_4_1_HPP
- #define BOOST_METAPARSE_GETTING_STARTED_4_1_HPP
- // Automatically generated header file
- // Definitions before section 4
- #include "4.hpp"
- // Definitions of section 4
- #include <boost/metaparse/lit_c.hpp>
- #include <boost/metaparse/sequence.hpp>
- using exp_parser4 = build_parser<sequence<token<int_>, token<lit_c<'+'>>, token<int_>>>;
- // query:
- // exp_parser4::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
- #ifdef __METASHELL
- #include <metashell/formatter.hpp>
- #endif
- // query:
- // exp_parser4::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
- #endif
|