![]() |
Home | Libraries | People | FAQ | More |
boost::parser::repeat
// In header: <boost/parser/parser.hpp> template<typename MinType, typename MaxType, typename DelimiterParser> repeat_directive< MinType, MaxType, DelimiterParser > repeat(MinType min_, MaxType max_, parser_interface< DelimiterParser > sep);
Returns a repeat_directive that repeats between min_ and max_ times, inclusive, where the items parsed are delimited by DelimiterParser. The value returned has an operator[] that returns a parser_interface<repeat_parser<P>> from a given parser of type parser_interface<P>.