This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH]: Some parser related fixes
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 27 Jan 2003 09:12:43 +0000
- Subject: Re: [C++ PATCH]: Some parser related fixes
- Organization: Codesourcery LLC
- References: <142070000.1043641084@warlock.codesourcery.com>
Mark Mitchell wrote:
--On Saturday, January 25, 2003 05:54:43 PM +0000 Nathan Sidwell
<nathan@codesourcery.com> wrote:
! template <class T> struct C: public A<T>::template B<T> { };
I thought you did not have to say "template" here, in the same way
that you do not have to say "typename" in this context.
oh. I did think you were allowed to say template here, but your DR314
shows that you're not, but should be. That DR is in drafting change.
So that part of my patch is ok.
The related DR343 is open, and indicates it should be optional. I don't
mind, what do you think?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org