Functor for cleaning up heap objects in containers.
More...
#include <xmltooling/base.h>
|
void | operator() (T *ptr) |
| Function operator to delete an object.
|
|
void | operator() (const T *ptr) |
| Function operator to delete an object stored as const.
|
|
template<class T>
struct xmltooling::cleanup< T >
Functor for cleaning up heap objects in containers.
◆ operator()() [1/2]
Function operator to delete an object stored as const.
- Parameters
-
ptr | object to delete after casting away const |
◆ operator()() [2/2]
Function operator to delete an object.
- Parameters
-
The documentation for this struct was generated from the following file: