Virtual interface definition for nullary function objects. More...
#include <function_objects.hpp>
Public Types | |
typedef R | result_type |
The result type. More... | |
Public Member Functions | |
virtual result_type | operator() ()=0 |
Virtual function call required by nullary function objects. More... | |
virtual | ~NullaryFunction () |
Virtual interface definition for nullary function objects.
Virtual interface definition for nullary function objects (i.e. functions that take no arguments).
R | : the return type. |
Definition at line 46 of file function_objects.hpp.
typedef R ecl::NullaryFunction< R >::result_type |
The result type.
Definition at line 48 of file function_objects.hpp.
|
inlinevirtual |
Definition at line 50 of file function_objects.hpp.
|
pure virtual |
Virtual function call required by nullary function objects.
Implemented in ecl::NullaryFunctionReference< FunctionObject, void >, ecl::NullaryFunctionReference< FunctionObject, Result >, ecl::NullaryFunctionCopy< FunctionObject, void >, ecl::NullaryFunctionCopy< FunctionObject, Result >, ecl::BoundUnaryMemberFunction< C, A, R >, ecl::BoundNullaryMemberFunction< C, void >, ecl::BoundNullaryMemberFunction< C, R >, ecl::BoundUnaryFreeFunction< A, void >, ecl::BoundUnaryFreeFunction< A, R >, ecl::NullaryFreeFunction< void >, and ecl::NullaryFreeFunction< R >.