BOOST_PARSER_DEFINE_RULES
// In header: <boost/parser/parser.hpp>
BOOST_PARSER_DEFINE_RULES(...)
For each given token t
, defines a pair of parse_rule()
overloads, used internally within Boost.Parser. Each such pair implements the parsing behavior rule t
, using the parser t_def
. This implementation is in the form of a pair of function templates. You should therefore write this macro only at namespace scope.