9 #ifndef anna_core_Singleton_hpp 10 #define anna_core_Singleton_hpp 91 static T* alloc(
const bool allocate) {
93 static T* result(NULL);
95 if(allocate ==
true) {
97 Guard guard(mutex,
"Singleton<T>::allocate");
104 Guard guard(mutex,
"Singleton<T>::deallocate");
Definition: Singleton.hpp:76
static void release()
Definition: Singleton.hpp:88
static T & instantiate()
Definition: Singleton.hpp:81