|
tclap 1.6.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 () | |
| 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 37 of file DeferDelete.h.
|
inline |
Definition at line 59 of file DeferDelete.h.
|
inline |
Definition at line 62 of file DeferDelete.h.