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