This is the documentation for Enlighten.

class Geo GeoDeleteArrayDestructor

template<typename T>
class Geo::GeoDeleteArrayDestructor

A type for deleting objects of type T using DeleteArray().

This is for use in GeoAutoPtr and assumes the object has been allocated with GEO_NEW_ARRAY(...)

Functions

Name Description
Delete(T *)

Primary policy method, deleting the object.

operator GeoDeleteArrayDestructor< TOther >()

Added conversion to fix compile issues when converting from one type to another.


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


public: void Delete
(
    T * obj
)


Primary policy method, deleting the object.


Geo::GeoDeleteArrayDestructor< T >::operator GeoDeleteArrayDestructor< TOther >


public: operator GeoDeleteArrayDestructor< TOther >() const


Added conversion to fix compile issues when converting from one type to another.