A (really) basic implementation of the singleton design pattern. More...
#include <basic_singleton.hpp>
Static Public Member Functions | |
| static T & | get_instance () |
| Get the instance of the singleton. | |
Protected Member Functions | |
| basic_singleton () | |
| Constructor. | |
| ~basic_singleton () | |
| Destructor. | |
A (really) basic implementation of the singleton design pattern.
Definition at line 44 of file basic_singleton.hpp.
| claw::concept::basic_singleton< T >::basic_singleton | ( | ) | [inline, protected] |
Constructor.
Definition at line 48 of file basic_singleton.tpp.
| claw::concept::basic_singleton< T >::~basic_singleton | ( | ) | [inline, protected] |
Destructor.
Definition at line 58 of file basic_singleton.tpp.
| T & claw::concept::basic_singleton< T >::get_instance | ( | ) | [inline, static] |
Get the instance of the singleton.
Definition at line 36 of file basic_singleton.tpp.
1.6.1