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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template one_plus_parser

boost::parser::one_plus_parser

Synopsis

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

template<typename Parser> 
struct one_plus_parser : public boost::parser::repeat_parser< Parser > {

  // public member functions
  one_plus_parser(Parser);
};

Description

Repeats the application of another parser p of type Parser, [1, Inf) times. The parse succeeds iff p succeeds at least once. The attribute produced is a sequence of the type of attribute produced by Parser.

one_plus_parser public member functions

  1. one_plus_parser(Parser parser);

PrevUpHomeNext