Unary function composition of a binary and unary functions: f(g(x),h(x)). More...
#include <compose.h>
Public Types | |
| typedef base_type::argument_type | argument_type |
| The argument type. | |
| typedef base_type::result_type | result_type |
| The result type. | |
Public Member Functions | |
| unary_compose_binary_unary () | |
| Default constructor. | |
| unary_compose_binary_unary (const F &f, const G &g, const H &h) | |
| Construct from functors. | |
| result_type | operator() (const argument_type &x) const |
| Return f(g(x),h(x)). | |
Protected Attributes | |
| F | _f |
| The outer binary functor. | |
| G | _g |
| The first inner unary functor. | |
| H | _h |
| The second inner unary functor. | |
Unary function composition of a binary and unary functions: f(g(x),h(x)).
This has the same functionality as the SGI extension functor binary_compose.
1.6.3