![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TVariantMeta.h>
Public Member Functions | |
| template<SIZE_T N> | |
| auto & | GetValueAsIndexedType () & |
| template<SIZE_T N> | |
| auto && | GetValueAsIndexedType () && |
| template<SIZE_T N> | |
| const auto & | GetValueAsIndexedType () const & |
Static Public Member Functions | |
| static constexpr SIZE_T | MaxOf (const SIZE_T Sizes[]) |
| static constexpr SIZE_T | MaxSizeof () |
| static constexpr SIZE_T | MaxAlignof () |
Public Attributes | |
| TAlignedBytes< SizeofValue, AlignofValue > | Storage |
| uint8 | TypeIndex |
Static Public Attributes | |
| static constexpr SIZE_T | SizeofValue = MaxSizeof() |
| static constexpr SIZE_T | AlignofValue = MaxAlignof() |
Determine the max alignof and sizeof of all types in a template parameter pack and provide a type that is compatible with those sizes
|
inline |
Interpret the underlying data as the type in the variant parameter pack at the compile-time index. This function is used to implement Visit and should not be used directly
|
inline |
Interpret the underlying data as the type in the variant parameter pack at the compile-time index. This function is used to implement Visit and should not be used directly
|
inline |
Interpret the underlying data as the type in the variant parameter pack at the compile-time index. This function is used to implement Visit and should not be used directly
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
| TAlignedBytes<SizeofValue, AlignofValue> UE::Core::Private::TVariantStorage< Ts >::Storage |
| uint8 UE::Core::Private::TVariantStorage< Ts >::TypeIndex |
Index into the template parameter pack for the type held.