------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-08 13:13
-------
Well, we accept the following code since gcc 3.0.
We rejected it in 2.95.x, but for a wrong reason ;-)
========================================================
template<int> struct A
{
template<typename T> void foo(T);
};
template<> template<typename T> void A<0>::foo(T) {}
template<> template<typename T> void A<0>::foo(T) {}
template void A<0>::foo(int);
========================================================
So Mark's patch does not introduce a regression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14379