|
Scopira
20080306
|
#include <singleton.h>
Static Public Member Functions | |
| static T * | instance (void) |
| return instance | |
Protected Types | |
| typedef scopira::tool::singleton< T > | singleton_type |
Protected Member Functions | |
| singleton (T *here) | |
| ctor | |
| ~singleton (void) | |
| dtor | |
A singleton helper class.
Not very useful (well, useless) for multiple inheritance singletons.
This class is depreacted – do not use. It's more trouble than it's worth under very strict (read gcc3.4) compilers.