Template Class NullaryFunction
Defined in File function_objects.hpp
Inheritance Relationships
Derived Types
public ecl::BoundNullaryMemberFunction< C, R >
(Template Class BoundNullaryMemberFunction)public ecl::BoundUnaryFreeFunction< A, R >
(Template Class BoundUnaryFreeFunction)public ecl::BoundUnaryMemberFunction< C, A, R >
(Template Class BoundUnaryMemberFunction)public ecl::NullaryFreeFunction< R >
(Template Class NullaryFreeFunction)public ecl::NullaryFunctionCopy< FunctionObject, Result >
(Template Class NullaryFunctionCopy)public ecl::NullaryFunctionReference< FunctionObject, Result >
(Template Class NullaryFunctionReference)
Class Documentation
-
template<typename R = void>
class NullaryFunction Virtual interface definition for nullary function objects.
Virtual interface definition for nullary function objects (i.e. functions that take no arguments).
See also
FunctionObjects.
- Template Parameters:
R – : the return type.
Subclassed by ecl::BoundNullaryMemberFunction< C, R >, ecl::BoundUnaryFreeFunction< A, R >, ecl::BoundUnaryMemberFunction< C, A, R >, ecl::NullaryFreeFunction< R >, ecl::NullaryFunctionCopy< FunctionObject, Result >, ecl::NullaryFunctionReference< FunctionObject, Result >
Public Functions
-
virtual result_type operator()() = 0
Virtual function call required by nullary function objects.
-
inline virtual ~NullaryFunction()