[#bsl-compose2]
= xref:bsl.adoc[bsl]::compose2
:relfileprefix: ../
:mrdocs:

Return a `binary&lowbar;compose` function object constructed using the specified `fn1` binary function, and the specified `fn2` and `fn3` unary functions&period; The returned function object is equivalent to `fn1(fn2(x), fn3(x))`&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;exfunctional&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class OPERATION1,
    class OPERATION2,
    class OPERATION3&gt;
xref:bsl/binary_compose.adoc[binary&lowbar;compose&lt;OPERATION1, OPERATION2, OPERATION3&gt;]
compose2(
    OPERATION1 const& fn1,
    OPERATION2 const& fn2,
    OPERATION3 const& fn3);
----


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