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 2018. The current version is 1.89.0.
UnaryParser is a composite parser that has a single subject. The UnaryParser may change the behavior of its subject following the Delegate Design Pattern.
Notation
pA UnaryParser.
PA UnaryParser type.
In addition to the requirements defined in Parser, for any UnaryParser
the following must be met:
|
Expression |
Semantics |
Return type |
|---|---|---|
|
|
Subject parser. |
|
Expression |
Description |
|---|---|
|
|
The subject parser type. |
|
|
Metafunction that evaluates to |
For any UnaryParser, P,
the following invariant always holds:
traits::is_parser<P::subject_type>::type evaluates to mpl::true_