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::merge_directive
// In header: <boost/parser/parser.hpp> struct merge_directive { // public member functions template<typename ParserTuple, typename BacktrackingTuple, typename CombiningGroups> auto operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > >) const noexcept; };
A directive type that can only be used on sequence parsers, that forces the merge of all the sequence_parser's subparser's attributes into a single attribute.
merge_directive public member functionstemplate<typename ParserTuple, typename BacktrackingTuple, typename CombiningGroups> auto operator[](parser_interface< seq_parser< ParserTuple, BacktrackingTuple, CombiningGroups > > rhs) const noexcept;