myproject 0.0.0
%%description%%
Loading...
Searching...
No Matches
myproject::Singleton< T, D > Class Template Reference

#include <singleton.h>

Public Member Functions

 Singleton ()=default
 
 ~Singleton ()=default
 
 Singleton (const Singleton &)=delete
 
 Singleton (Singleton &&)=delete
 
Singletonoperator= (const Singleton &)=delete
 
Singletonoperator= (Singleton &&)=delete
 

Static Public Member Functions

static T & instance ()
 

Constructor & Destructor Documentation

◆ Singleton() [1/3]

template<typename T , typename D = T>
myproject::Singleton< T, D >::Singleton ( )
default

◆ ~Singleton()

template<typename T , typename D = T>
myproject::Singleton< T, D >::~Singleton ( )
default

◆ Singleton() [2/3]

template<typename T , typename D = T>
myproject::Singleton< T, D >::Singleton ( const Singleton< T, D > & )
delete

◆ Singleton() [3/3]

template<typename T , typename D = T>
myproject::Singleton< T, D >::Singleton ( Singleton< T, D > && )
delete

Member Function Documentation

◆ instance()

template<typename T , typename D >
T & myproject::Singleton< T, D >::instance ( )
static

◆ operator=() [1/2]

template<typename T , typename D = T>
Singleton & myproject::Singleton< T, D >::operator= ( const Singleton< T, D > & )
delete

◆ operator=() [2/2]

template<typename T , typename D = T>
Singleton & myproject::Singleton< T, D >::operator= ( Singleton< T, D > && )
delete

The documentation for this class was generated from the following file: