hmbdc
simplify-high-performance-messaging-programming
|
base for the Singleton that works with SingletonGuardian More...
#include <GuardedSingleton.hpp>
Static Public Member Functions | |
static Singleton & | instance () |
static bool | initialized () |
Friends | |
struct | SingletonGuardian< Singleton > |
base for the Singleton that works with SingletonGuardian
a good practice is to declare the ctor of the derived class private and friend the derived with the SingletonGuardian<derived>
Singleton | the derived type |