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 the documentation for a snapshot of the master branch, built from commit a2b80500d6.
PrevUpHomeNext

Struct template repeat_directive

boost::parser::repeat_directive

Synopsis

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

template<typename MinType, typename MaxType> 
struct repeat_directive {

  // public member functions
  template<typename Parser2> 
    constexpr auto operator[](parser_interface< Parser2 >) const noexcept;

  // public data members
  MinType min_;
  MaxType max_;
};

Description

Represents a repeat_parser as a directive (e.g. repeat[other_parser]).

repeat_directive public member functions

  1. template<typename Parser2> 
      constexpr auto operator[](parser_interface< Parser2 > rhs) const noexcept;

PrevUpHomeNext