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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template seq_parser

boost::parser::seq_parser

Synopsis

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

template<typename ParserTuple, typename BacktrackingTuple, 
         typename CombiningGroups> 
struct seq_parser {
};

Description

Applies each parser in ParserTuple, in order. The parse succeeds iff all of the sub-parsers succeed. The attribute produced is a std::tuple over the types of attribute produced by the parsers in ParserTuple. The BacktrackingTuple template parameter is a parser::tuple of std::bool_constant values. The ith such value indicates whether backtracking is allowed if the ith parser fails.


PrevUpHomeNext