Template Class NullaryMemberFunction< C, void >
Defined in File function_objects.hpp
Inheritance Relationships
Base Type
public ecl::UnaryFunction< C &, void >
(Template Class UnaryFunction)
Class Documentation
-
template<typename C>
class NullaryMemberFunction<C, void> : public ecl::UnaryFunction<C&, void> Specialisation of the unary function object for void member functions without arguments.
Specialisation for a function object from a void member function without arguments (note, the single argument to this unary function object is the class instance itself).
See also
ecl::utilities::NullaryMemberFunction, generateFunctionObject, FunctionObjects.
- Template Parameters
C – : the member function’s class type type.
Public Functions
-
inline NullaryMemberFunction(void (C::* function)())
Unary function object constructor for void member functions.
Accepts a void member function without arguments, and builds the function object around it.
- Parameters
function – : a void member function.
-
inline virtual ~NullaryMemberFunction()