Boost C++ Libraries Home Libraries People FAQ More

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