Apply F to each element of Range and store results at d_first.
Declared in <llvm/ADT/STLExtras.h>
template<
typename R,
typename OutputIt,
typename UnaryFunction>
OutputIt
transform(
R&& Range,
OutputIt d_first,
UnaryFunction F);
Output iterator past the last written element.
| Name | Description |
|---|---|
| Range | Range to transform. |
| d_first | Output iterator receiving transformed values. |
| F | Unary function applied to each element. |