Re: Problem with explicit template explicit instantiations mixed with forward declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux