Specialisations for free unary functions with no return type. More...
#include <function_objects.hpp>
Public Member Functions | |
void | operator() (A a) |
This ensures any children objects are deleted correctly. More... | |
UnaryFreeFunction (void(*function)(A)) | |
Unary function object constructor for global/static unary functions with no return type. More... | |
virtual | ~UnaryFreeFunction () |
Public Member Functions inherited from ecl::UnaryFunction< A, void > | |
virtual | ~UnaryFunction () |
Private Attributes | |
void(* | free_function )(A) |
Additional Inherited Members | |
Public Types inherited from ecl::UnaryFunction< A, void > | |
typedef A | argument_type |
The first argument type. More... | |
typedef void | result_type |
The result type. More... | |
Specialisations for free unary functions with no return type.
Specialisations for free unary functions with no return type.
A | : the argument type. |
Definition at line 244 of file function_objects.hpp.
|
inline |
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.
function | : a global/static function with a single argument. |
Definition at line 255 of file function_objects.hpp.
|
inlinevirtual |
Definition at line 257 of file function_objects.hpp.
|
inlinevirtual |
This ensures any children objects are deleted correctly.
A unary function object call.
Redirects the unary function object call to the composited void global/static function.
Implements ecl::UnaryFunction< A, void >.
Definition at line 265 of file function_objects.hpp.
|
private |
Definition at line 268 of file function_objects.hpp.