#include <functional.hpp>
Public Types | |
typedef BFI::result_type | result_type |
Result type. | |
typedef UF1I::argument_type | argument_type |
Argument type. | |
Public Member Functions | |
result_type | operator() (argument_type a) |
operator () | |
binary_compose (BF bf, UF1 uf1, UF2 uf2) | |
Constructor. |
This adaptor takes a binary function F(x,y) and 2 unary functions g1(w) and g2(z) and composes them into a binary function F(g1(w), g2(z)) (w,z)
instigate::stl::binary_compose< BF, UF1, UF2 >::binary_compose | ( | BF | bf, | |
UF1 | uf1, | |||
UF2 | uf2 | |||
) | [inline] |
Constructor.
bf | - the "outer" function in the function composition operation | |
uf1 | - the first "inner" function in the function composition operation | |
uf2 | - the second "inner" function in the function composition operation |
result_type instigate::stl::binary_compose< BF, UF1, UF2 >::operator() | ( | argument_type | a | ) | [inline] |
operator ()
a | - the argument the composed function to be invoked on |
References instigate::stl::invoke().