singleton.hh File Reference

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.



Detailed Description

Usefull wrapper for creating singletons.

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

Generated on Mon Apr 26 10:45:22 2010 for dune-common by  doxygen 1.6.3