30 Jan
2006
30 Jan
'06
8 p.m.
David A. Greene wrote:
template<> singleton<tester>::mutex_type singleton<tester>::mutex; template<> singleton<tester>::handle singleton<tester>::inst = 0;
Try template<class T> singleton<T>::mutex_type singleton<T>::mutex; template<class T> singleton<T>::handle singleton<T>::inst;