defuze.me  Client
Static Public Member Functions
Singleton< T > Class Template Reference

Singleton template class. More...

#include <singleton.hpp>

Inheritance diagram for Singleton< T >:
Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static T & instance ()

Detailed Description

template<typename T>
class Singleton< T >

Singleton template class.

Meyers' singletons, as define here : http://fr.wikipedia.org/wiki/Singleton_(patron_de_conception)#C.2B.2B.

Warning:
May not be thead-safe.

Definition at line 20 of file singleton.hpp.


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