| TVariantStorage
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/TVariantMeta.h |
Include |
#include "Misc/TVariantMeta.h" |
template<typename... Ts>
struct TVariantStorage
Determine the max alignof and sizeof of all types in a template parameter pack and provide a type that is compatible with those sizes
Name | Description | ||
---|---|---|---|
|
TAlignedBytes< ... |
Storage |
Name | Description | ||
---|---|---|---|
|
auto & |
GetValueAsIndexedType() |
Interpret the underlying data as the type in the variant parameter pack at the compile-time index. |
|
const auto & |
GetValueAsIndexedType() |
Interpret the underlying data as the type in the variant parameter pack at the compile-time index. |
|
constexpr SI... |
MaxAlignof() |
|
|
constexpr SI... |
MaxOf ( |
|
|
constexpr SI... |
MaxSizeof() |
Name |
Description |
---|---|
AlignofValue |
|
SizeofValue |