Usefull wrapper for creating singletons. More...
Go to the source code of this file.
Classes | |
class | Dune::Singleton< T > |
An adapter to turn a class into a singleton. More... | |
class | Dune::Singleton< T >::InstancePointer |
A simple smart pointer responsible for creation and deletion of the instance. More... | |
Namespaces | |
namespace | Dune |
Dune namespace. |
Usefull wrapper for creating singletons.
Inspirated by the article CodeGuru: A Leak-Free Singleton class