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)).
Declared in <bslstp_exfunctional.h>
template<
class OPERATION1,
class OPERATION2>
unary_compose<OPERATION1, OPERATION2>
compose1(
OPERATION1 const& fn1,
OPERATION2 const& fn2);
unary_compose adaptor equivalent to fn1(fn2(x))
| Name | Description |
|---|---|
| fn1 | outer unary functor applied to the result of fn2 |
| fn2 | inner unary functor applied to the argument |