![]() |
Home | Libraries | People | FAQ | More |
boost::parser::transform_parser
// In header: <boost/parser/parser_fwd.hpp> template<typename Parser, typename F> struct transform_parser { };
Applies the given parser p of type Parser. The attribute produced by p is passed to the fiven invocable f of type F. f will only be invoked if p succeeds and sttributes are currently being generated. The parse succeeds iff p succeeds. The attribute produced is the the result of the call to f.