From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Edwards To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3063: Explicit specification of a template-argument gives syntax error inside a template function. Date: Thu, 07 Jun 2001 14:56:00 -0000 Message-id: <20010607215600.10256.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00247.html List-Id: The following reply was made to PR c++/3063; it has been noted by GNATS. From: Phil Edwards To: Martin Sebor 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.