sprint 1-alpha
|
singleton class More...
Go to the source code of this file.
Classes | |
class | sprint::singleton< T > |
A singleton. More... | |
Namespaces | |
namespace | sprint |
Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux. | |
Defines | |
#define | SINGLETON_INSTANCE(T) T & sprint::singleton<T>::Instance() { static T obj; return obj; } |
allocate singleton in only one object file |
singleton class