DestructorPolicy template for types requiring destruction through DeleteThis.
#include <autoptr.h>
Static Public Member Functions |
|
template<typename Type > | |
static void | Delete (Type *ptr) |
static void Delete | ( | Type * | ptr | ) | [inline, static] |
{
if(NULL != ptr)
{
ptr->DeleteThis();
}
}