|
Electroneum
|
Single helper class. More...
#include <singleton.h>
Static Public Member Functions | |
| static T * | instance () |
Private Member Functions | |
| Singleton () | |
| Singleton (Singleton &s)=delete | |
| Singleton & | operator= (const Singleton &)=delete |
Single helper class.
Do Language::Singleton<YourClass>::instance() to create a singleton instance of YourClass.
|
inlineprivate |
|
privatedelete |
|
inlinestatic |
|
privatedelete |