Template Class UnaryFreeFunction< A, void >
Defined in File function_objects.hpp
Inheritance Relationships
Base Type
public ecl::UnaryFunction< A, void >
(Template Class UnaryFunction)
Class Documentation
-
template<typename A>
class UnaryFreeFunction<A, void> : public ecl::UnaryFunction<A, void> Specialisations for free unary functions with no return type.
Specialisations for free unary functions with no return type.
See also
ecl::utilities::UnaryFreeFunction, generateFunctionObject, FunctionObjects.
- Template Parameters
A – : the argument type.
Public Functions
-
inline UnaryFreeFunction(void (*function)(A))
Unary function object constructor for global/static unary functions with no return type.
Accepts a void global/static function with a single argument and builds the function object around it.
- Parameters
function – : a global/static function with a single argument.
-
inline virtual ~UnaryFreeFunction()