UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TTlsAutoCleanupValue< T > Class Template Reference

#include <TlsAutoCleanup.h>

+ Inheritance diagram for TTlsAutoCleanupValue< T >:

Public Member Functions

 TTlsAutoCleanupValue (const T &InValue)
 
Get () const
 
void Set (const T &InValue)
 
void Set (T &&InValue)
 
- Public Member Functions inherited from FTlsAutoCleanup
virtual ~FTlsAutoCleanup ()
 
CORE_API void Register ()
 

Detailed Description

template<class T>
class TTlsAutoCleanupValue< T >

Wrapper for values to be stored in TLS that support auto-cleanup.

Constructor & Destructor Documentation

◆ TTlsAutoCleanupValue()

template<class T >
TTlsAutoCleanupValue< T >::TTlsAutoCleanupValue ( const T &  InValue)
inline

Constructor.

Member Function Documentation

◆ Get()

template<class T >
T TTlsAutoCleanupValue< T >::Get ( ) const
inline

Gets the value.

◆ Set() [1/2]

template<class T >
void TTlsAutoCleanupValue< T >::Set ( const T &  InValue)
inline

◆ Set() [2/2]

template<class T >
void TTlsAutoCleanupValue< T >::Set ( T &&  InValue)
inline

The documentation for this class was generated from the following file: