Virtual interface definition for unary function objects. More...
#include <function_objects.hpp>
Public Types | |
typedef A | argument_type |
The first argument type. More... | |
typedef R | result_type |
The result type. More... | |
Public Member Functions | |
virtual result_type | operator() (argument_type arg)=0 |
Virtual function call required by unary function objects. More... | |
virtual | ~UnaryFunction () |
Virtual interface definition for unary function objects.
Virtual interface definition for unary function objects (i.e. functions that take a single arguments).
A | : the argument type. |
R | : the return type. |
Definition at line 75 of file function_objects.hpp.
typedef A ecl::UnaryFunction< A, R >::argument_type |
The first argument type.
Definition at line 80 of file function_objects.hpp.
typedef R ecl::UnaryFunction< A, R >::result_type |
The result type.
Definition at line 79 of file function_objects.hpp.
|
inlinevirtual |
Definition at line 86 of file function_objects.hpp.
|
pure virtual |
Virtual function call required by unary function objects.
arg | : the argument. |
Virtual function call required by unary function objects.
Implemented in ecl::UnaryFunctionReference< ReferenceWrapper, T, void >, ecl::UnaryFunctionReference< FunctionObject, T, Result >, ecl::UnaryFunctionCopy< FunctionObject, T, void >, ecl::UnaryFunctionCopy< FunctionObject, T, Result >, ecl::NullaryMemberFunction< C, void >, ecl::NullaryMemberFunction< C, R >, ecl::PartiallyBoundUnaryMemberFunction< C, A, R >, ecl::UnaryFreeFunction< A, void >, and ecl::UnaryFreeFunction< A, R >.