singleton.hh File Reference


Detailed Description

Usefull wrapper for creating singletons.

Inspirated by the article CodeGuru: A Leak-Free Singleton class

Go to the source code of this file.

Namespaces

namespace  Dune

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...


Generated on Sun Nov 15 22:28:14 2009 for dune-common by  doxygen 1.5.6