1 #ifndef SIMGEAR_SINGLETON_HXX
2 #define SIMGEAR_SINGLETON_HXX 1
4 #include "singleton.hpp"
9 * Class that supplies the address of a singleton instance. This class
10 * can be inherited by its Class argument in order to support the
11 * instance() method in that class.
13 template <typename Class>
19 static Class* instance()
22 = boost::details::pool::singleton_default<Class>::instance();