Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/ThreadSingleton.h |
Include |
#include "HAL/ThreadSingleton.h" |
static T & Get
(
TFunctionRef< FTlsAutoCleanup *()> CreateInstance
)
an instance of a singleton for the current thread.
Parameter |
Description |
---|---|
CreateInstance |
Function to call when a new instance must be created. |