Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Concept OneManyPipe

OneManyPipe

Description

A OneManyPipe 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

    Pipe::input_type

    The type of elements the pipe converts from.

  • output_type

    Pipe::output_type

    The type of elements the pipe converts into.

  • max_output

    Pipe::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

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

Valid expressions

Name Expression Type Semantics

Construction

OneManyPipe()

OneManyPipe

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