This is the documentation for Enlighten.

class Geo GeoReleaseDestructor

template<typename>
class Geo::GeoReleaseDestructor

A type for deleting objects of type T using Release(). This is for use in GeoAutoPtr.

Functions

Name Description
Delete(T *)

Primary policy method, deleting the object.

operator GeoReleaseDestructor< TOther >()

Allow conversion to other types, as we always expect the Release call to be virtual.


static void Geo::GeoReleaseDestructor< T >::Delete


public: void Delete
(
    T * obj
)


Primary policy method, deleting the object.


Geo::GeoReleaseDestructor< T >::operator GeoReleaseDestructor< TOther >


public: operator GeoReleaseDestructor< TOther >() const


Allow conversion to other types, as we always expect the Release call to be virtual.