[#bsl-compose1] = xref:bsl.adoc[bsl]::compose1 :relfileprefix: ../ :mrdocs: Return an `unary_compose` function object constructed using the specified `fn1` and `fn2` unary functions. The returned function object is equivalent to `fn1(fn2(x))`. == Synopsis Declared in `<bslstp_exfunctional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class OPERATION1, class OPERATION2> xref:bsl/unary_compose.adoc[unary_compose<OPERATION1, OPERATION2>] compose1( OPERATION1 const& fn1, OPERATION2 const& fn2); ---- == Return Value `unary_compose` adaptor equivalent to `fn1(fn2(x))` == Parameters [cols="1,4"] |=== | Name| Description | *fn1* | outer unary functor applied to the result of `fn2` | *fn2* | inner unary functor applied to the argument |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#