[#absl-c_transform-08] = xref:absl.adoc[absl]::c_transform :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::transform()` function to transform a container's elements using the unary operation, storing the result in an iterator pointing to the last transformed element in the output range. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename InputSequence, typename OutputIterator, typename UnaryOp> constexpr /* implementation-defined */ c_transform( InputSequence const& input, OutputIterator&& output, UnaryOp&& unary_op); ---- == Return Value An iterator to the end of the transformed range in the output. == Parameters [cols="1,4"] |=== | Name| Description | *input* | The container whose elements to transform. | *output* | The output iterator receiving the transformed elements. | *unary_op* | The unary operation applied to each element. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#