Re: Linker error with static data member in templated class

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

 



Andy Gibbs <andyg1001@xxxxxxxxxxxxx> writes:

> #if 0
> /** This doesn't work **/
> template <typename T> C1<&C3<T>::m> C3<T>::op1;
> template C1<&C3<int>::m> C3<int>::op1;

This case works fine in mainline gcc, and it looks right to me.  It may
simply be a bug in the version of the compiler you are using.

Ian


[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