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

Overload of `c&lowbar;transform()` for performing a transformation using a binary predicate&period; Applies `binary&lowbar;op` to the first N elements of `c1` and `c2`, where N &equals; min(size(c1), size(c2))&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename InputSequence1,
    typename InputSequence2,
    typename OutputIterator,
    typename BinaryOp&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
c&lowbar;transform(
    InputSequence1 const& input1,
    InputSequence2 const& input2,
    OutputIterator&& output,
    BinaryOp&& binary&lowbar;op);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input1*
| The first input container&period;
| *input2*
| The second input container&period;
| *output*
| The output iterator receiving the transformed elements&period;
| *binary&lowbar;op*
| The binary operation applied to element pairs&period;
|===


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