PrevUpHomeNext

Concept OneManyConverter

OneManyConverter

Description

A OneManyConverter is a function object that takes a value as argument and writes a number of elements to a range, hence making it a one-to-many conversion facility.

Refinement of

Associated types

  • 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 a call to the function object.

Notation

Converter
A type playing the role of model of OneManyConverter in the OneManyConverter concept.
In
A type playing the role of model of Convertible<input_type> in the OneManyConverter concept.
Out
A type playing the role of model of OutputIterator<output_type> in the OneManyConverter concept.
p
Object of type Converter
v
Object of type In
out
Object of type Out

Valid expressions

Name Expression Type Semantics

Construction

OneManyConverter()

OneManyConverter

Construct an instance of the type with default parameters.

Function Object Call

p(v, out)

Out

Writes some elements of type output_type to out, and returns the past-the-end output iterator.

Models

  • boost::unicode::u8_encoder, boost::unicode::u16_encoder, boost::unicode::hangul_decomposer

PrevUpHomeNext