Lums
|
An helper template for creating singletons. More...
#include <Singleton.hpp>
Static Public Member Functions | |
static T & | instance () |
Protected Member Functions | |
Singleton ()=default | |
Singleton (const Singleton< T > &)=delete | |
Singleton< T > & | operator= (const Singleton< T > &)=delete |
An helper template for creating singletons.
Singletons created using this class are lazy-constructed
|
protecteddefault |
Default ctor
|
protecteddelete |
Deleted copy ctor
|
inlinestatic |
Get the single instance
|
protecteddelete |
Deleted assignment operator