• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef BOOST_METAPARSE_GETTING_STARTED_4_1_HPP
2 #define BOOST_METAPARSE_GETTING_STARTED_4_1_HPP
3 
4 // Automatically generated header file
5 
6 // Definitions before section 4
7 #include "4.hpp"
8 
9 // Definitions of section 4
10 #include <boost/metaparse/lit_c.hpp>
11 
12 #include <boost/metaparse/sequence.hpp>
13 
14 using exp_parser4 = build_parser<sequence<token<int_>, token<lit_c<'+'>>, token<int_>>>;
15 
16 // query:
17 //    exp_parser4::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
18 
19 #ifdef __METASHELL
20 #include <metashell/formatter.hpp>
21 #endif
22 
23 // query:
24 //    exp_parser4::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
25 
26 #endif
27 
28