Claw  1.7.3
Static Public Member Functions | Protected Member Functions | List of all members
claw::pattern::basic_singleton< T > Class Template Reference

A (really) basic implementation of the singleton design pattern. More...

#include <basic_singleton.hpp>

Inheritance diagram for claw::pattern::basic_singleton< T >:
claw::pattern::non_copyable

Static Public Member Functions

static T & get_instance ()
 Get the instance of the singleton.

Protected Member Functions

 basic_singleton ()
 Constructor.
 ~basic_singleton ()
 Destructor.

Additional Inherited Members

- Public Member Functions inherited from claw::pattern::non_copyable
 non_copyable ()
 Default constructor.

Detailed Description

template<class T>
class claw::pattern::basic_singleton< T >

A (really) basic implementation of the singleton design pattern.

Author
Julien Jorge

Definition at line 44 of file basic_singleton.hpp.


The documentation for this class was generated from the following files: