Thanks for the quick reply, this makes the code works. But I still have got some questions: I believed that a namespace declaration wasn't mandatory for integral static const members initialized in a class, so what was wrong with the code? Nicolas On Wednesday 30 November 2005 20:46, John Love-Jensen wrote: > Hi nicos, > > Put this in after your class: > > template<class T> > const unsigned int A<T>::n; > > HTH, > --Eljay