Monero
Loading...
Searching...
No Matches
Language::Singleton< T > Class Template Reference

Single helper class. More...

#include <singleton.h>

Static Public Member Functions

static Tinstance ()

Private Member Functions

 Singleton ()
 Singleton (Singleton &s)=delete
Singletonoperator= (const Singleton &)=delete

Detailed Description

template<class T>
class Language::Singleton< T >

Single helper class.

Do Language::Singleton<YourClass>::instance() to create a singleton instance of YourClass.

Constructor & Destructor Documentation

◆ Singleton() [1/2]

template<class T>
Language::Singleton< T >::Singleton ( )
inlineprivate

◆ Singleton() [2/2]

template<class T>
Language::Singleton< T >::Singleton ( Singleton< T > & s)
privatedelete

Member Function Documentation

◆ instance()

template<class T>
T * Language::Singleton< T >::instance ( )
inlinestatic

◆ operator=()

template<class T>
Singleton & Language::Singleton< T >::operator= ( const Singleton< T > & )
privatedelete

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