Converter
A Converter is a type grouping two functions that read a certain number of elements off a range and write another number of elements on another one, hence making it a many-to-many conversion facility.
input_type
Converter::input_type
The type of elements the converter converts from.
output_type
Converter::output_type
The type of elements the converter converts into.
max_output
Converter::max_output
Optional MPL integral constant that states how many
elements may be added to out
at maximum in an ltr
or rtl
call.
p
pos
next
out
Name | Expression | Type | Precondition | Semantics |
---|---|---|---|---|
Construction |
Converter() |
Converter |
Construct an instance of the type with default parameters. |
|
Left to right |
p.ltr(next, pos, out) |
Out |
|
Reads part of the [ |
Right to left |
p.rtl(pos, next, out) |
Out |
|
Reads part of the [ |