Quantum++
v0.8.6
C++11 quantum computing library
|
const Singleton class that performs additional initializations/cleanups More...
#include <classes/init.h>
Private Member Functions | |
Init () | |
Additional initializations. More... | |
~Init () | |
Cleanups. More... | |
Friends | |
class | internal::Singleton< const Init > |
Additional Inherited Members | |
![]() | |
static const Init & | get_instance () noexcept(std::is_nothrow_constructible< const Init >::value) |
static thread_local const Init & | get_thread_local_instance () noexcept(std::is_nothrow_constructible< const Init >::value) |
![]() | |
Singleton () noexcept=default | |
Singleton (const Singleton &)=delete | |
Singleton & | operator= (const Singleton &)=delete |
virtual | ~Singleton ()=default |
const Singleton class that performs additional initializations/cleanups
|
inlineprivate |
Additional initializations.
|
inlineprivate |
Cleanups.
|
friend |