#include <functional.hpp>
Public Types | |
| typedef UF1I::result_type | result_type |
| result type of the first unary function | |
| typedef UF2I::argument_type | argument_type |
| argument type of the second unary function | |
Public Member Functions | |
| result_type | operator() (argument_type a) const |
| operator () | |
| unary_compose (UF1 uf1, UF2 uf2) | |
| Constructor. | |
This adaptor takes two unary functions F(x) and g1(y) and composes them into an unary function F(g1(y));
| instigate::stl::unary_compose< UF1, UF2 >::unary_compose | ( | UF1 | uf1, | |
| UF2 | uf2 | |||
| ) | [inline] |
Constructor.
| uf1 | - the "outer" function in the function composition operation | |
| uf2 | - the "inner" function in the function composition operation |
| result_type instigate::stl::unary_compose< UF1, UF2 >::operator() | ( | argument_type | a | ) | const [inline] |
operator ()
| a | - the argument the composed function to be invoked on |
References instigate::stl::invoke().