Template Class UnaryFunction
Defined in File function_objects.hpp
Inheritance Relationships
Derived Types
public ecl::NullaryMemberFunction< C, R >
(Template Class NullaryMemberFunction)public ecl::PartiallyBoundUnaryMemberFunction< C, A, R >
(Template Class PartiallyBoundUnaryMemberFunction)public ecl::UnaryFreeFunction< A, R >
(Template Class UnaryFreeFunction)public ecl::UnaryFunctionCopy< FunctionObject, T, Result >
(Template Class UnaryFunctionCopy)public ecl::UnaryFunctionReference< FunctionObject, T, Result >
(Template Class UnaryFunctionReference)
Class Documentation
-
template<typename A, typename R = void>
class UnaryFunction Virtual interface definition for unary function objects.
Virtual interface definition for unary function objects (i.e. functions that take a single arguments).
See also
FunctionObjects.
- Template Parameters:
A – : the argument type.
R – : the return type.
Subclassed by ecl::NullaryMemberFunction< C, R >, ecl::PartiallyBoundUnaryMemberFunction< C, A, R >, ecl::UnaryFreeFunction< A, R >, ecl::UnaryFunctionCopy< FunctionObject, T, Result >, ecl::UnaryFunctionReference< FunctionObject, T, Result >
Public Types
Public Functions
-
virtual result_type operator()(argument_type arg) = 0
Virtual function call required by unary function objects.
Virtual function call required by unary function objects.
- Parameters:
arg – : the argument.
-
inline virtual ~UnaryFunction()