29 #ifndef Pt_Singleton_h
30 #define Pt_Singleton_h
32 #include <Pt/NonCopyable.h>
101 template <
typename T>
102 T* Singleton<T>::_instance = 0;
Protects derived classes from being copied.
Definition: NonCopyable.h:54
static T & instance()
Returns the instance of the singleton type.
Definition: Singleton.h:69
Singleton class template
Definition: Singleton.h:58
~Singleton()
Destructor.
Definition: Singleton.h:87
Singleton()
Constructor.
Definition: Singleton.h:82