|
Feel++ 0.91.0
|
implement the Singleton pattern More...
#include <singleton.hpp>
Public Types | |
| typedef T | singleton_type |
|
typedef PolicyFeelTimeDefault < singleton_type > | feeltime_policy |
|
typedef PolicyCreationUsingNew < singleton_type > | creation_policy |
Static Public Member Functions | |
| static singleton_type & | instance () |
implement the Singleton pattern
A Singleton pattern implementation using the ideas from Alexandrescu's book "modern C++ design" http://www.moderncppdesign.com/
| T & Feel::Singleton< T >::instance | ( | ) | [inline, static] |
return the instance of the singleton
1.7.4