Banuba SDK
Public Member Functions | Static Public Member Functions | List of all members
bnb::singleton< T > Class Template Reference

Base class for all scoped singletons. More...

#include <singleton.hpp>

Public Member Functions

 singleton (const singleton< T > &other)=delete
 
singleton< T > & operator= (const singleton< T > &other)=delete
 

Static Public Member Functions

static T & instance ()
 

Detailed Description

template<typename T>
class bnb::singleton< T >

Base class for all scoped singletons.

This is a Meyers Singleton implementation.

Definition at line 17 of file singleton.hpp.


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