metaparse/example/getting_started/4_1.hpp
2015-07-03 21:18:29 +02:00

28 lines
606 B
C++

#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