Claw 1.7.0
Static Public Member Functions | Protected Member Functions
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

List of all members.

Static Public Member Functions

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

Protected Member Functions

 basic_singleton ()
 Constructor.
 ~basic_singleton ()
 Destructor.

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: