TVariant::Get

Get a reference to the held value.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/TVariant.h

Include

#include "Misc/TVariant.h"

Syntax

template<typename U>
const U & Get() const

Remarks

Get a reference to the held value. Bad things can happen if this is called on a variant that does not hold the type asked for