Virtual interface definition for unary function objects. More...
#include <function_objects.hpp>
Public Types | |
typedef A | argument_type |
The first argument type. | |
typedef R | result_type |
The result type. | |
Public Member Functions | |
virtual result_type | operator() (argument_type arg)=0 |
Virtual function call required by unary function objects. | |
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 69 of file function_objects.hpp.
typedef A ecl::UnaryFunction< A, R >::argument_type |
The first argument type.
Definition at line 72 of file function_objects.hpp.
typedef R ecl::UnaryFunction< A, R >::result_type |
The result type.
Definition at line 71 of file function_objects.hpp.
virtual ecl::UnaryFunction< A, R >::~UnaryFunction | ( | ) | [inline, virtual] |
Definition at line 78 of file function_objects.hpp.
virtual result_type ecl::UnaryFunction< A, R >::operator() | ( | argument_type | arg | ) | [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::PartiallyBoundUnaryMemberFunction< C, A, R >, ecl::NullaryMemberFunction< C, void >, ecl::NullaryMemberFunction< C, R >, ecl::UnaryFreeFunction< A, void >, and ecl::UnaryFreeFunction< A, R >.