TLazySingleton::Get

Creates singleton once on first call.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/LazySingleton.h"

Syntax

static T & Get()

Remarks

Creates singleton once on first call. Thread-safe w.r.t. other Get() calls. Do not call after TearDown().

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