The Pedigree Project  0.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
UniqueArray< T > Class Template Reference

#include <Pointers.h>

+ Inheritance diagram for UniqueArray< T >:
+ Collaboration diagram for UniqueArray< T >:

Public Member Functions

 UniqueArray (UniqueArray< T > &&p)
 
 NOT_COPYABLE_OR_ASSIGNABLE (UniqueArray< T >)
 
UniqueArray< T > & operator= (UniqueArray< 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

static UniqueArray< T > allocate (size_t count)
 

Protected Member Functions

virtual void destroy () override
 
- Protected Member Functions inherited from UniqueCommon< T >
 UniqueCommon (T *p)
 
void setPointer (T *p)
 
void release ()
 

Private Member Functions

 UniqueArray (T *p)
 
void move_from (UniqueArray< T > &&p)
 

Additional Inherited Members

- Protected Attributes inherited from UniqueCommon< T >
T * m_Pointer
 

Detailed Description

template<class T>
class UniqueArray< T >

Array version of UniquePointer that uses delete[] for deletion.

Definition at line 141 of file Pointers.h.


The documentation for this class was generated from the following file: