Template Class UnaryFunction
Defined in File function_objects.hpp
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.
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()