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 Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].