| Home | Libraries | People | FAQ | More

## Function template repeat

boost::parser::repeat

## Synopsis

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

    template<typename MinType, typename MaxType>
      repeat_directive< MinType, MaxType > repeat(MinType min_, MaxType max_);

## Description

Returns a `repeat_directive` that repeats between `min_` and `max_` times, inclusive, and whose `operator[]` returns a `parser_interface<repeat_parser<P>>` from a given parser of type `parser_interface<P>`.