1 #ifndef _utl_Singleton_h_
2 #define _utl_Singleton_h_
7 #ifndef OFFLINE_USE_GAMMA_SINGLETON
86 static T* fgInstance = 0;
130 static T*
const instance =
new T;
LeakingSingleton & operator=(const LeakingSingleton &)
CRTP for leaking singleton.
Singleton & operator=(const Singleton &)
Curiously Recurring Template Pattern (CRTP) for Meyers singleton.
static T &return instance