17 static T&
Get() noexcept
46 static T* GetPtr() noexcept
49 return s_instance.m_obj;
53 Singleton() =
default;
Template class for creating a singleton instance of a class.
Definition Singleton.h:11
static void Destroy() noexcept
Destroy the singleton instance.
Definition Singleton.h:25
static T & Get() noexcept
Get the singleton instance.
Definition Singleton.h:17