yat
0.20.3pre
|
#include <yat/utility/stl_utility.h>
Public Member Functions | |
compose_f_gx (void) | |
default constructor More... | |
compose_f_gx (F f, G g) | |
Constructor. | |
F::result_type | operator() (typename G::argument_type x) const |
Does the work. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class F , class G > | |
compose_f_gx< F, G > | make_compose_f_gx (F f, G g) |
See The C++ Standard Library - A Tutorial and Reference by Nicolai M. Josuttis
If f is a unary functor, g is a unary functor, and return type of g is convertible to F's argument type, then compose_f_gx can be used to create a functor equivalent to
G::result_type
is convertible to F::argument_type
|
inline |
default constructor
Requires that F and G have default constructors
|
related |