![]() |
Home | Libraries | People | FAQ | More |
boost::parser::prefix_parse
// In header: <boost/parser/parser.hpp> template< I, S, typename Parser, typename GlobalState, ErrorHandler> auto ( first, last, parser_interface< Parser, GlobalState, ErrorHandler > const & parser, trace_mode = );
Parses [first, last) using parser. Returns a std::optional containing the attribute produced by parser on parse success, and std::nullopt on parse failure. If trace_mode == trace::on, a verbose trace of the parse will be streamed to std::cout.