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 an older version of Boost and was released in 2024. The current version is 1.89.0.
NaryParser is a composite parser that has one or
more subjects. The NaryParser allows its subjects to be treated in the
same way as a single instance of a Parser following the Composite
Design Pattern.
Notation
pA NaryParser.
PA NaryParser type.
In addition to the requirements defined in Parser, for any NaryParser the
following must be met:
|
Expression |
Semantics |
Return type |
|---|---|---|
|
|
The tuple of elements. |
A Boost.Fusion
Sequence of |
|
Expression |
Description |
|---|---|
|
|
Elements tuple type. |
|
|
Metafunction that evaluates to |
For each element, E,
in any NaryParser, P,
the following invariant always holds:
traits::is_parser<E>::type evaluates to mpl::true_