This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11715] Error with template keyword in a non-dependent type


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]