The Pedigree Project
0.1
|
#include <Pointers.h>
Public Member Functions | |
UniquePointer (UniquePointer< T > &&p) | |
NOT_COPYABLE_OR_ASSIGNABLE (UniquePointer< T >) | |
UniquePointer< T > & | operator= (UniquePointer< T > &&p) |
Public Member Functions inherited from UniqueCommon< T > | |
T * | operator* () const |
operator void * () const | |
T * | get () const |
void | reset () |
NOT_COPYABLE_OR_ASSIGNABLE (UniqueCommon< T >) | |
Static Public Member Functions | |
template<class... Args> | |
static UniquePointer< T > | allocate (Args &&...args) |
Private Member Functions | |
UniquePointer (T *p) | |
void | move_from (UniquePointer< T > &&p) |
Additional Inherited Members | |
Protected Member Functions inherited from UniqueCommon< T > | |
UniqueCommon (T *p) | |
virtual void | destroy () |
void | setPointer (T *p) |
void | release () |
Protected Attributes inherited from UniqueCommon< T > | |
T * | m_Pointer |
Provides a wrapper around a single-use pointer. The copy constructor will invalidate the reference in the object being copied from.
Definition at line 93 of file Pointers.h.