Hermes
0.9.5-beta
Hierarchical Distributed I/O Buffering System
|
#include <singleton.h>
Public Member Functions | |
Singleton & | operator= (const Singleton)=delete |
Singleton (const Singleton &)=delete | |
Static Public Member Functions | |
template<typename... Args> | |
static T * | GetInstance (Args... args) |
Static Protected Attributes | |
static std::unique_ptr< T > | instance = nullptr |
A class to represent singleton pattern
|
delete |
Constructor
|
inlinestatic |
Uses unique pointer to build a static global instance of variable.
T |
|
delete |
Operators
|
staticprotected |
static instance.