|
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 36 of file DeferDelete.h.
|
inline |
Definition at line 58 of file DeferDelete.h.
|
inline |
Definition at line 59 of file DeferDelete.h.
|
inline |
Definition at line 67 of file DeferDelete.h.