Binary function composition of a binary and unary functions: f(g(x),h(y)). More...
#include <compose.h>
Public Types | |
typedef base_type::first_argument_type | first_argument_type |
The first argument type. | |
typedef base_type::second_argument_type | second_argument_type |
The second argument type. | |
typedef base_type::result_type | result_type |
The result type. | |
Public Member Functions | |
binary_compose_binary_unary () | |
Default constructor. | |
binary_compose_binary_unary (const F &f, const G &g, const H &h) | |
Construct from functors. | |
result_type | operator() (const first_argument_type &x, const second_argument_type &y) const |
Return f(g(x),h(y)). | |
F & | outer () |
Return a reference to the outer binary function. | |
G & | first_inner () |
Return a reference to the first inner unary function. | |
H & | second_inner () |
Return a reference to the second inner unary function. | |
Protected Attributes | |
F | _f |
The outer binary functor. | |
G | _g |
The first inner unary functor. | |
H | _h |
The second inner unary functor. |
Binary function composition of a binary and unary functions: f(g(x),h(y)).