This is the mail archive of the gcc-patches@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]

Re: [C++ PATCH]: Some parser related fixes


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



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