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

21 lines
455 B
C++

#ifndef BOOST_METAPARSE_GETTING_STARTED_4_2_HPP
#define BOOST_METAPARSE_GETTING_STARTED_4_2_HPP
// Automatically generated header file
// Definitions before section 4.1
#include "4_1.hpp"
// Definitions of section 4.1
using int_token = token<int_>;
using plus_token = token<lit_c<'+'>>;
using exp_parser5 = build_parser<sequence<int_token, plus_token, int_token>>;
// query:
// exp_parser5::apply<BOOST_METAPARSE_STRING("11 + 2")>::type
#endif