Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
boost::parser::with_error_handler
// In header: <boost/parser/parser.hpp> template<typename Parser, typename GlobalState, typename ErrorHandler> auto with_error_handler(parser_interface< Parser, GlobalState, default_error_handler > const & parser, ErrorHandler & error_handler);
Returns a parser_interface with the same parser and globals, with error_handler added. The result of passing any non-top-level parser for the parser argument is undefined.