Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

NameDescription
Delete(T *)

Primary policy method, deleting the object.

operator GeoDeleteArrayDestructor< TOther >()

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


Anchor
a8d269915f3a28ff0451c487c6ef6bcb0
a8d269915f3a28ff0451c487c6ef6bcb0

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

...

public: void Delete
(
    T * obj
)

...

Primary policy method, deleting the object.


Anchor
a9489f2ceb0696d88afa73649fdc0f602
a9489f2ceb0696d88afa73649fdc0f602

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

...

public: operator GeoDeleteArrayDestructor< TOther >() const

...

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