Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-01-30 15:00:48


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;


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net