template <typename T>
class Signleton {
public:
static T* GetInstance();
};
template <typename T>
T* Signleton<T>::GetInstance()
{
static T* pIntance = new T;
return pInstance;
}
template <typename T>
class Signleton {
public:
static T* GetInstance();
};
template <typename T>
T* Signleton<T>::GetInstance()
{
static T* pIntance = new T;
return pInstance;
}