This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24680] Invalid template code accepted
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2005 02:19:34 -0000
- Subject: [Bug c++/24680] Invalid template code accepted
- References: <bug-24680-8671@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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