This is the documentation for Enlighten.
class Geo GeoDeleteDestructor
template<typename T>
class Geo::GeoDeleteDestructor
A type for deleting objects of type T using GEO_DELETE.
This is for use in GeoAutoPtr and assumes the object has been allocated with GEO_NEW.
Functions
Name | Description |
---|---|
Delete(T *) | Primary policy method, deleting the object. |
operator GeoDeleteDestructor< TOther >() | Allow conversion to other types, as we always expect the destructor to be virtual. |
static void Geo::GeoDeleteDestructor< T >::Delete
public: void Delete
(
  T * obj
)
Primary policy method, deleting the object.
Geo::GeoDeleteDestructor< T >::operator GeoDeleteDestructor< TOther >
public: operator GeoDeleteDestructor< TOther >() const
Allow conversion to other types, as we always expect the destructor to be virtual.