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 | |
binary_compose (const OPERATION1 &fn1, const OPERATION2 &fn2, const OPERATION3 &fn3) | |
result_type | operator() (const argument_type &x) const |
result_type | operator() (argument_type &x) const |
Protected Attributes | |
OPERATION1 | d_fn1 |
OPERATION2 | d_fn2 |
OPERATION3 | d_fn3 |
This class provides a function object adaptor for three other functors. When given two adaptable unary functions g1
and g2
, and a third adaptable binary function f
, and if g1
and g2
s argument type is convertible to f
s argument type, this class can be used to create a function object h
that is equivalent to f(g1(x), g2(x))
.
typedef OPERATION2::argument_type bsl::binary_compose< OPERATION1, OPERATION2, OPERATION3 >::argument_type |
typedef OPERATION1::result_type bsl::binary_compose< OPERATION1, OPERATION2, OPERATION3 >::result_type |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |