| Home | Libraries | People | FAQ | More

## 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);