QNLP
v1.0
|
Follows the Meyers singleton pattern, allowing thread-safe access to singleton object. More...
#include <Singleton.hpp>
Public Member Functions | |
Singleton (const Singleton &)=delete | |
Construct a new Singleton object (disabled) More... | |
Singleton (Singleton &&)=delete | |
Construct a new Singleton object (disabled) More... | |
Singleton & | operator= (const Singleton &)=delete |
Overloaded = (disabled) More... | |
Singleton & | operator= (Singleton &&)=delete |
Overloaded = (disabled) More... | |
Static Public Member Functions | |
static Singleton & | getInstance () |
Get the Instance object. More... | |
Private Member Functions | |
Singleton ()=default | |
Construct a new Singleton object. More... | |
virtual | ~Singleton ()=default |
Destroy the Singleton object. More... | |
Follows the Meyers singleton pattern, allowing thread-safe access to singleton object.
Definition at line 15 of file Singleton.hpp.
|
privatedefault |
Construct a new Singleton object.
|
privatevirtualdefault |
Destroy the Singleton object.
|
inlinestatic |
Overloaded = (disabled)
Overloaded = (disabled)