Apply F to each element of Range and store results at d_first.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename R,
    typename OutputIt,
    typename UnaryFunction>
OutputIt
transform(
    R&& Range,
    OutputIt d_first,
    UnaryFunction F);

Return Value

Output iterator past the last written element.

Parameters

Name

Description

Range

Range to transform.

d_first

Output iterator receiving transformed values.

F

Unary function applied to each element.

Created with MrDocs