27 #ifndef INTERNAL_CLASSES_SINGLETON_H_
28 #define INTERNAL_CLASSES_SINGLETON_H_
101 noexcept(
std::is_nothrow_constructible<T>::value)
106 static thread_local T instance;
static thread_local T & get_thread_local_instance() noexcept(std::is_nothrow_constructible< T >::value)
Definition: singleton.h:100
Singleton policy class, used internally to implement the singleton pattern via CRTP (Curiously recurr...
Definition: singleton.h:77
Quantum++ main namespace.
Definition: codes.h:30
Singleton & operator=(const Singleton &)=delete
virtual ~Singleton()=default
Singleton() noexcept=default
static T & get_instance() noexcept(std::is_nothrow_constructible< T >::value)
Definition: singleton.h:90