[#absl-c_transform-08]
= xref:absl.adoc[absl]::c&lowbar;transform
:relfileprefix: ../
:mrdocs:

Container&hyphen;based version of the &lt;algorithm&gt; `std&colon;&colon;transform()` function to transform a container&apos;s elements using the unary operation, storing the result in an iterator pointing to the last transformed element in the output range&period;

== Synopsis

Declared in `&lt;absl&sol;algorithm&sol;container&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename InputSequence,
    typename OutputIterator,
    typename UnaryOp&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
c&lowbar;transform(
    InputSequence const& input,
    OutputIterator&& output,
    UnaryOp&& unary&lowbar;op);
----

== Return Value

An iterator to the end of the transformed range in the output&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| The container whose elements to transform&period;
| *output*
| The output iterator receiving the transformed elements&period;
| *unary&lowbar;op*
| The unary operation applied to each element&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
