![]() |
Home | Libraries | People | FAQ | More |
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_