cxxtools::DefaultDestroyPolicy< ObjectType > Class Template Reference

old name for DeletePolicy for compatibility. More...

#include <cxxtools/smartptr.h>

Static Public Member Functions

static void destroy (ObjectType *ptr)

Detailed Description

template<typename ObjectType>
class cxxtools::DefaultDestroyPolicy< ObjectType >

old name for DeletePolicy for compatibility.

ObjectTypeThe managed object type

The DefaultDestroyPolicy implements the method, which instructs the SmartPtr to free the object which it helds by deleting it.

Member Function Documentation

template<typename ObjectType>
static void cxxtools::DefaultDestroyPolicy< ObjectType >::destroy ( ObjectType *  ptr)

The documentation for this class was generated from the following file: