#include <yat/utility/stl_utility.h>
Public Member Functions | |
compose_f_gxy (F f, G g) | |
Constructor. | |
F::result_type | operator() (typename G::first_argument_type x, typename G::second_argument_type y) const |
Does the work. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class F , class G > | |
compose_f_gxy< F, G > | make_compose_f_gxy (F f, G g) |
If f is a unary functor, g is a binary functor, and return type of g is convertible to F's argument type, then compose_f_gxy can be used to create a functor equivalent to
G::result_type
is convertible to F::argument_type
compose_f_gxy< F, G > make_compose_f_gxy | ( | F | f, | |
G | g | |||
) | [related] |