Navigation
API > API/Runtime > API/Runtime/CoreUObject
Ts... are types which are ultimately pointers. We tag which of Ts... the variant holds by tagging the lower bits, so the pointers must be at least log(sizeof(Ts)...) + 1 byte aligned.
| Name | TPtrVariant |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/VerseVM/VVMPtrVariant.h |
| Include Path | #include "VerseVM/VVMPtrVariant.h" |
Syntax
template<typename... Ts>
struct TPtrVariant
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TPtrVariant
(
T InT |
VerseVM/VVMPtrVariant.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Mask | uintptr_t | VerseVM/VVMPtrVariant.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Ptr | uintptr_t | VerseVM/VVMPtrVariant.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T As() |
VerseVM/VVMPtrVariant.h | ||
bool Is() |
VerseVM/VVMPtrVariant.h | ||
uintptr_t RawPtr() |
VerseVM/VVMPtrVariant.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
TPtrVariant Other |
VerseVM/VVMPtrVariant.h |