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
Auxiliary Parsers

Expression

Attribute

Description

eol

Unused

Matches the end of line (\r or \n or \r\n)

eoi

Unused

Matches the end of input (first == last)

eps

Unused

Match an empty string

eps(b)

Unused

If b is true, match an empty string

lazy(fp)

Attribute of P where P is the return type of fp

Invoke fp at parse time, returning a parser p which is then called to parse.

fp

see lazy(fp) above

Equivalent to lazy(fp)

attr(attrib)

Attrib

Doesn't consume/parse any input, but exposes the argument attrib as its attribute.


PrevUpHomeNext