Versions Compared

Key

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

template<typename>
class Geo::GeoReleaseDestructor

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

Functions

NameDescription
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.


Anchor
a357c847de37fd5a962ba895351ea239e
a357c847de37fd5a962ba895351ea239e

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

...

public: void Delete
(
    T * obj
)

...

Primary policy method, deleting the object.


Anchor
a80a4a62a8f0a6361b8c4c15d22f17e21
a80a4a62a8f0a6361b8c4c15d22f17e21

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.