Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/TVariantMeta.h |
Include | #include "Misc/TVariantMeta.h" |
Syntax
template<typename... Ts>
struct TDestructorLookup
Remarks
Lookup a type in a template parameter pack by its index and call the destructor
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Destruct
(
SIZE_T TypeIndex, |
If the index matches, call the destructor, otherwise call with the next index and type in the parameter pack |