Template Function ecl::generateFunctionObject(R(C::*)(), C&)
Defined in File function_objects.hpp
Function Documentation
-
template<typename C, typename R>
BoundNullaryMemberFunction<C, R> ecl::generateFunctionObject(R (C::* function)(), C &c) Generate a nullary function object by binding a nullary member function with its instance.
Overloaded function type, this particular overload generates a nullary function object by binding the class instance to a void member function.
See also
FunctionObjects.
- Template Parameters:
C – : the member function’s class type.
R – : the member function’s return type.
- Parameters:
function – : the void member function.
c – : the member function’s class instance.
- Returns:
NullaryMemberFunction<C,R> : unary function object.