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

PrevUpHomeNext

Function template repeat

boost::parser::repeat

Synopsis

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


template<typename T> constexpr repeat_directive< T, T > repeat(T n);

Description

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>.


PrevUpHomeNext