Unary function composition of two unary functions: f(g(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_unary_unary () | |
| Default constructor. | |
| unary_compose_unary_unary (const F &f, const G &g) | |
| Construct from functors. | |
| result_type | operator() (const argument_type &x) const |
| Return f(g(x)). | |
Protected Attributes | |
| F | _f |
| The outer unary functor. | |
| G | _g |
| The inner unary functor. | |
Unary function composition of two unary functions: f(g(x)).
This has the same functionality as the SGI extension functor unary_compose.
1.6.3