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
boost::parser::repeat
// In header: <boost/parser/parser.hpp> template<typename T> constexpr repeat_directive< T, T > repeat(T n);
Returns a repeat_directive that repeats exactly n times, and whose operator[] returns a parser_interface<repeat_parser<P>> from a given parser of type parser_interface<P>.