This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15503] [3.4/3.5 regression] nested template problem
- 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: 31 May 2004 19:04:28 -0000
- Subject: [Bug c++/15503] [3.4/3.5 regression] nested template problem
- References: <20040517201227.15503.mark.a.anders@intel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-05-31 19:04 -------
The code in Comment #2 is not allowed by the standard.
This is DR 343, which comes from DR 314, which was opened by me. It looks like
the committee will eventually allow both the version with the "template"
keyword, and the version without, and that without the keyword the parser should
still assume that it is present. Right now, the standard provides no way
whatsoever to accomplish the desired functionality.
I'll look into what fixing this would require, but I'm not eager to make major
revisions in this area for 3.4.1; they'll likely be somewhat risky.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15503