Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Templates/DontCopy.h |
| Include | #include "Templates/DontCopy.h" |
Syntax
template<typename T>
struct TDontCopy
Remarks
Can be used as a wrapper over non-copyable objects (i.e. FCriticalSection) if you still want the class containing your object to keep its copyable property without compromising integrity of the object that doesn't support being copied. It makes each TDontCopy member of a class an exclusive entity of that class.
Constructors
Destructors
| Type | Name | Description | |
|---|---|---|---|
~TDontCopy () |
Functions
Operators
| Type | Name | Description | |
|---|---|---|---|
| T & | operator* () |
||
| const T & | operator* () |
||
| TDontCopy & | |||
| TDontCopy & | |||
| T * | operator-> () |
||
| const T * | operator-> () |