template class CCL::UnmanagedSingleton

Singleton instance, must be released explicitely via cleanup call.

#include <singleton.h>

template <class T>
class UnmanagedSingleton
{
public:
    // methods

    static T& instance ();
    static T* peekInstance ();
    static void cleanupInstance ();
    static Object* __createSingleton ();
};