On Monday, October 04, 2010 10:27 PM, Ian Lance Taylor wrote:
#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
That is good to know. In that case I'll migrate up to 4.5.1 and see if that solves the problem.
Thank you for all your help. Andy