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 is the documentation for a snapshot of the develop branch, built from commit 2daa88693b.
PrevUpHomeNext

Struct template transform_parser

boost::parser::transform_parser

Synopsis

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

template<typename Parser, typename F> 
struct transform_parser {
};

Description

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.


PrevUpHomeNext