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: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2003 07:04:51 -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 mmitchel at gcc dot gnu dot org 2003-10-01 07:04 -------
First, the code in Comment #3 is valid. A is non-dependent!
The original code is valid. The "template" keyword can only be used in this way
inside of a template, but if used after a non-dependent name it has no effect --
except that the thing named must be a template. I do not have time to look up
chapter & verse right now, unfortunately.