nn::util::Singleton Classtemplate <class Derived> class Singleton : private nn::util::NonCopyable< Singleton< Derived > >
| Name | Description |
|---|---|
| Derived | Derived class type that inherits from this class. |
Class template for creating Singleton pattern classes.
class A : By defining a class as public nn::util::Singleton< A > you can limit the number of class A instances to one.
nn::util::NonCopyable
nn::util::Singleton
CONFIDENTIAL