This is the documentation for Enlighten.
class Geo GeoUniqueDelegatePtr
template<typename T, void >
class Geo::GeoUniqueDelegatePtr
└>Geo::GeoUniquePtr< T, GeoDelegateDestructor< T, F > >
└>Geo::GeoDelegateDestructor< T, F >
└>Geo::NonCopyable
Given the lack of a template typedef, and how common it is to want a GeoUniquePtr with Delegate 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. | |
Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership. | |
Take ownership of the payload of other GeoUniqueReleasePtr. | |
GeoUniqueDelegatePtr(GeoUniqueDelegatePtr< Other, OtherFunc > &) | construct by assuming pointer from rhs |
Move constructor. | |
GeoUniqueDelegatePtr(GeoUniqueDelegatePtr< Other, OtherFunc > &&) | Move constructor. |
Move constructor. | |
Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership. | |
Explicitly return the contained type. | |
Is the object valid? | |
Equivalence/comparison tests. | |
Allow dereferencing of the contained type. | |
Allow array referencing of the contained type. | |
Equivalence/comparison tests. | |
Move assignment operator. | |
Move assignment operator. | |
Move assignment operator. | |
Equivalence/comparison tests. | |
Equivalence/comparison tests. | |
Access members of the owned object. | |
Hold new object, destroying current. |
Friends
Name | Description |
|---|---|
friend void Swap(GeoUniquePtr &a, GeoUniquePtr &b) | Specialized swap. |
Geo::GeoUniquePtr< T, D >::~GeoUniquePtr
public: ~GeoUniquePtr()
Destructor - Delete the internal object.