TDestructorLookup

Lookup a type in a template parameter pack by its index and call the destructor

Windows
MacOS
Linux

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

Name Description

Public function Static

void

 

Destruct

(
    SIZE_T TypeIndex,
    void* Value
)

If the index matches, call the destructor, otherwise call with the next index and type in the parameter pack

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss