Binary function composition of a unary and binary function: f(g(x,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_unary_binary () | |
Default constructor. | |
binary_compose_unary_binary (const F &f, const G &g) | |
Construct from functors. | |
result_type | operator() (const first_argument_type &x, const second_argument_type &y) const |
Return f(g(x,y)). | |
Protected Attributes | |
F | _f |
The outer unary functor. | |
G | _g |
The inner binary functor. |
Binary function composition of a unary and binary function: f(g(x,y)).