This is the documentation for Enlighten.
class Geo GeoAutoReleasePtr
template<class T>
class Geo::GeoAutoReleasePtr
└>Geo::GeoAutoPtr< T, Geo::GeoReleaseDestructor< T > >
└>Geo::GeoReleaseDestructor< T >
Given the lack of a template typedef, and how common it is to want a GeoAutoPtr with Release dtor, adding a new class to provide this destruction policy by default.
Functions
Name | Description |
|---|---|
Destructor - Delete the internal object. | |
Explicitly delete the internal object. | |
Release ownership of the internal object and return it to the client. | |
Construct by assuming pointer from rhs, given a different contained type Theoretically could write a destruction policy that accepted matches to other policies, but none implemented to date. | |
Move constructor. | |
Move constructor. | |
Take ownership of the payload of other GeoAutoPtr. | |
Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership. | |
Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership. | |
Take ownership of the payload of other GeoAutoReleasePtr. | |
Move constructor. | |
Move constructor. | |
construct by assuming pointer from rhs | |
Explicitly return the contained type. | |
Is the object valid? | |
Convert to GeoAutoPtr of compatible type. | |
Equivalence/comparison tests. | |
Allow dereferencing of the contained type. | |
Allow array referencing of the contained type. | |
Equivalence/comparison tests. | |
Move assignment operator. | |
Support assignment (modifying other object) | |
Move assignment operator. | |
Move assignment operator. | |
Equivalence/comparison tests. | |
Equivalence/comparison tests. | |
Access members of the owned object. | |
Hold new object, destroying current. |
Geo::GeoAutoPtr< T, D >::~GeoAutoPtr
public: ~GeoAutoPtr()
Destructor - Delete the internal object.