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

Function template with_globals
PrevUpHomeNext

Function template with_globals

boost::parser::with_globals

Synopsis

// In header: <boost/parser/parser.hpp>


template<typename Parser, typename GlobalState, typename ErrorHandler> 
  auto with_globals(unspecified parser, GlobalState & globals);

Description

Returns a parser_interface with the same parser and error handler, with globals added. The result of passing any non-top-level parser for the parser argument is undefined.


PrevUpHomeNext