![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PimplPtr.h>
Inheritance diagram for TPimplPtr< T, EPimplPtrMode::DeepCopy >:Public Member Functions | |
| TPimplPtr ()=default | |
| ~TPimplPtr ()=default | |
| TPimplPtr (const TPimplPtr &A) | |
| TPimplPtr & | operator= (const TPimplPtr &A) |
| TPimplPtr (TPimplPtr &&)=default | |
| TPimplPtr & | operator= (TPimplPtr &&)=default |
| TPimplPtr (TYPE_OF_NULLPTR) | |
| TPimplPtr & | operator= (TYPE_OF_NULLPTR A) |
| bool | IsValid () const |
| T * | Get () const |
| void | Reset () |
Friends | |
| template<typename U , EPimplPtrMode M, typename... ArgTypes> | |
| TPimplPtr< U, M > | MakePimpl (ArgTypes &&... Args) |
|
default |
|
default |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
friend |
Heap-allocates an instance of T with the given arguments and returns it as a TPimplPtr.
Usage: TPimplPtr<FMyType> MyPtr = MakePimpl<FMyType>(...arguments...);
DeepCopy Usage: TPimplPtr<FMyType, EPimplPtrMode::DeepCopy> MyPtr = MakePimpl<FMyType, EPimplPtrMode::DeepCopy>(...arguments...);