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 an older version of Boost and was released in 2024. The current version is 1.90.0.
boost::parser::delimited_seq_parser
// In header: <boost/parser/parser.hpp> template<typename Parser, typename DelimiterParser> struct delimited_seq_parser : public boost::parser::repeat_parser< Parser, DelimiterParser > { // public member functions delimited_seq_parser(Parser, DelimiterParser); };
Repeats the application of another parser p of type Parser, [1, Inf) times, applying a parser d of type DelimiterParser in between each pair of applications of p. The parse succeeds iff p succeeds at least once, and d succeeds each time it is applied. The attribute produced is a sequence of the type of attribute produced by Parser.