tclap
1.4.0
|
DeferDelete can be used by objects that need to allocate arbitrary other objects to live for the duration of the first object. More...
#include <DeferDelete.h>
Public Member Functions | |
DeferDelete () | |
~DeferDelete () | |
template<typename T > | |
void | operator() (T *toDelete) |
DeferDelete can be used by objects that need to allocate arbitrary other objects to live for the duration of the first object.
Any object added to DeferDelete (by calling operator()) will be deleted when the DeferDelete object is destroyed.
Definition at line 34 of file DeferDelete.h.
|
inline |
Definition at line 56 of file DeferDelete.h.
|
inline |
Definition at line 57 of file DeferDelete.h.
|
inline |
Definition at line 65 of file DeferDelete.h.