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 zero_plus_parser

boost::parser::zero_plus_parser

Synopsis

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

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

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

Description

Repeats the application of another parser p of type Parser, [0, Inf) times. The parse always succeeds. The attribute produced is a sequence of the type of attribute produced by Parser.

zero_plus_parser public member functions

  1. zero_plus_parser(Parser parser);

PrevUpHomeNext