...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
UnaryLexer is a composite lexer component that has a single subject. The UnaryLexer may change the behavior of its subject following the Delegate Design Pattern.
Notation
l
A UnaryLexer.
L
A UnaryLexer type.
In addition to the requirements defined in Lexer
, for any UnaryLexer the
following must be met:
Expression |
Semantics |
Return type |
---|---|---|
|
Subject lexer component. |
Expression |
Description |
---|---|
|
The subject lexer component type. |
|
Metafunction that evaluates to |
For any UnaryLexer, L
,
the following invariant always holds:
traits::is_lexer<L::subject_type>::type
evaluates to mpl::true_
The following lexer components conform to this model:
FIXME Add more links to models of UnaryLexer concept