BDE 4.14.0 Production release
|
#include <bslstp_exfunctional.h>
Public Types | |
typedef OPERATION2::argument_type | argument_type |
typedef OPERATION1::result_type | result_type |
Public Member Functions | |
unary_compose (const OPERATION1 &x, const OPERATION2 &y) | |
result_type | operator() (const argument_type &x) const |
result_type | operator() (argument_type &x) const |
Protected Attributes | |
OPERATION1 | d_fn1 |
OPERATION2 | d_fn2 |
This class provides a function object adaptor for two other functors. When given two adaptable unary functions f
and g
, and when g
s return type is convertible to f
s argument type, this class can be used to create a function object h
that is equivalent to f(g(x))
.
typedef OPERATION2::argument_type bsl::unary_compose< OPERATION1, OPERATION2 >::argument_type |
typedef OPERATION1::result_type bsl::unary_compose< OPERATION1, OPERATION2 >::result_type |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |