This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11715] Error with template keyword in a non-dependent type
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2003 22:46:56 -0000
- Subject: [Bug c++/11715] Error with template keyword in a non-dependent type
- References: <20030729202158.11715.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11715
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2003-07-29 22:46 -------
IMHO there's a typname keyword missing and the template disambiguator
isn't needed (but legal). The strange thing is, that the code is
accepted without the typname keyword if the template disambiguator is
removed.