![]() |
Home | Libraries | People | FAQ | More |
UnaryGenerator is a composite generator that has a single subject. The UnaryGenerator may change the behavior of its subject following the Delegate Design Pattern.
Notation
gA UnaryGenerator.
GA UnaryGenerator type.
In addition to the requirements defined in Generator, for any UnaryGenerator
the following must be met:
|
Expression |
Semantics |
Return type |
|---|---|---|
|
|
Subject generator. |
|
Expression |
Description |
|---|---|
|
|
The subject generator type. |
|
|
Metafunction that evaluates to |
For any UnaryGenerator, G,
the following invariant always holds:
traits::is_generator<G::subject_type>::type evaluates to mpl::true_
The following generators conform to this model:
*) operator,
+) operator,
-) operator,
&)
and Not
predicate (unary !)
operators,
left_align, center, and right_align directives,
repeat directive,
verbatim directive,
delimit directive,
lower and upper directives,
maxwidth directive,
buffer directive,
omit directive.
FIXME Add more links to models of UnaryGenerator concept