[Bug c++/11715] Error with template keyword in a non-dependent type
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 1 07:04:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list