This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels