bsl::compose1

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>

template<
    class OPERATION1,
    class OPERATION2>
unary_compose<OPERATION1, OPERATION2>
compose1(
    OPERATION1 const& fn1,
    OPERATION2 const& fn2);