60 T *
get() {
return value.get(); }
67 std::unique_ptr<T> value;
static void add_destructor(std::function< void()> destructor)
Workaround for broken destruction of static member variables in MSVC.
Definition: singleton_bugfix.h:43
T * operator->()
Definition: singleton_bugfix.h:61
static void deinitialize()
Singleton()
Definition: singleton_bugfix.h:55
Workaround for broken destruction of static member variables in MSVC.
Definition: singleton_bugfix.h:52
Definition: Application/application.h:35