Furrent
Public Member Functions | Static Public Member Functions | List of all members
fur::util::Singleton< T > Class Template Reference

#include <singleton.hpp>

Public Member Functions

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

Static Public Member Functions

static T & instance ()
 Returns the instance of the singleton. More...
 

Constructor & Destructor Documentation

◆ Singleton() [1/3]

template<typename T >
fur::util::Singleton< T >::Singleton ( )
default

◆ Singleton() [2/3]

template<typename T >
fur::util::Singleton< T >::Singleton ( const Singleton< T > &  )
delete

◆ Singleton() [3/3]

template<typename T >
fur::util::Singleton< T >::Singleton ( Singleton< T > &&  )
deletenoexcept

Member Function Documentation

◆ instance()

template<typename T >
T & fur::util::Singleton< T >::instance
static

Returns the instance of the singleton.

◆ operator=() [1/2]

template<typename T >
Singleton& fur::util::Singleton< T >::operator= ( const Singleton< T > &  )
delete

◆ operator=() [2/2]

template<typename T >
Singleton& fur::util::Singleton< T >::operator= ( Singleton< T > &&  )
deletenoexcept

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