Giri's C++ Support Library
C++ library providing everything you need to quickly create awesome applications.
|
Singleton Template Class. More...
#include <Singleton.h>
Static Public Member Functions | |
template<typename... Args> | |
static T * | getInstance (Args... args) |
Generates a static Variable which can only be instanced once. Parameters depend on the inheriting class. More... | |
static void | destroy () |
Destroys the Object held by the Singleton. | |
Additional Inherited Members | |
![]() | |
using | SPtr = std::shared_ptr< T > |
using | UPtr = std::unique_ptr< T > |
using | WPtr = std::weak_ptr< T > |
Singleton Template Class.
|
inlinestatic |
Generates a static Variable which can only be instanced once. Parameters depend on the inheriting class.