TTlsAutoCleanupValue

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

Windows
MacOS
Linux

Inheritance Hierarchy

FTlsAutoCleanup

TTlsAutoCleanupValue

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/TlsAutoCleanup.h

Include

#include "HAL/TlsAutoCleanup.h"

Syntax

template<class T>
class TTlsAutoCleanupValue : public FTlsAutoCleanup

Remarks

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

Constructors

Name Description

Public function

TTlsAutoCleanupValue

(
    const T& InValue
)

Constructor.

Functions

Name Description

Public function Const

T

 

Get()

Gets the value.

Public function

void

 

Set

(
    const T& InValue
)

Sets the value.

Public function

void

 

Set

(
    T&& InValue
)

Sets the value.

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