| Deleter
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/UniquePtr.h |
Include |
#include "Templates/UniquePtr.h" |
template<typename T, typename Deleter>
class TUniquePtr< T[], Deleter > : private Deleter
Name | Description | ||
---|---|---|---|
|
~TUniquePtr() |
Destructor |
|
|
T * |
Get() |
Returns a pointer to the owned array without relinquishing ownership. |
|
Deleter & |
GetDeleter() |
Returns a reference to the deleter subobject. |
|
const Delete... |
GetDeleter() |
Returns a reference to the deleter subobject. |
|
IsValid() |
Tests if the TUniquePtr currently owns an array. |
|
|
T * |
Release() |
Relinquishes control of the owned array to the caller and nulls the TUniquePtr. |
|
Reset ( |
Gives the TUniquePtr a new array to own, destroying any previously-owned array. |
|
|
Reset ( |
||
|
TUniquePtr ( |
Pointer constructor - takes ownership of the pointed-to array |
|
|
TUniquePtr() |
Default constructor - initializes the TUniquePtr to null. |
|
|
TUniquePtr ( |
Non-copyable. |
|
|
TUniquePtr ( |
Pointer constructor - takes ownership of the pointed-to array |
|
|
TUniquePtr |
Nullptr constructor - initializes the TUniquePtr to null. |
|
|
TUniquePtr ( |
Move constructor |
|
|
TUniquePtr ( |
Constructor from rvalues of other (usually less qualified) types |
|
|
TUniquePtr ( |
Pointer constructor - takes ownership of the pointed-to array |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Operator bool |
|
|
operator!() |
Logical not operator |
|
|
T & |
operator[] ( |
Indexing operator |
|
operator= |
Nullptr assignment operator |
|
|
operator= ( |
Move assignment operator |
|
|
operator= ( |
Assignment operator for rvalues of other (usually less qualified) types |
|
|
operator= ( |
Name |
Description |
---|---|
ElementType |