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

Re: c++/3063: Explicit specification of a template-argument gives syntax error inside a template function.


The following reply was made to PR c++/3063; it has been noted by GNATS.

From: Phil Edwards <pedwards@disaster.jaj.com>
To: Martin Sebor <sebor@roguewave.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/3063: Explicit specification of a template-argument gives syntax error inside a template function.
Date: Thu, 7 Jun 2001 16:35:23 -0400

 On Thu, Jun 07, 2001 at 09:46:01PM -0000, Martin Sebor wrote:
 >  Only in a dependent context. `a' here doesn't depend on a template
 >  parameter so `template' isn't required. I believe this is a known
 >  bug in the parser (someone else acknowledged it on this list in
 >  the past).
 
 After reading 14.2 I think you're right.  Note that adding 'template'
 as I wrote it, still works around the problem.
 
 -- 
 pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
 devphil at several other less interesting addresses in various dot domains
 The gods do not protect fools.  Fools are protected by more capable fools.


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