[Bug c++/24680] Invalid template code accepted

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 5 02:19:00 GMT 2005



------- Comment #11 from pinskia at gcc dot gnu dot org  2005-11-05 02:19 -------
So it looks like we have found an EDG bug and not a GCC one.

As for
>There is no explicit dependence for List<T>::D on the template parameter.
>The semantics of D do not change depending upon the instantiation of T.

That is false see my example.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24680



More information about the Gcc-bugs mailing list