public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> 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 15:46:00 -0000 [thread overview] Message-ID: <20010607224600.10358.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/3063; it has been noted by GNATS. From: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> To: Martin Sebor <sebor@roguewave.com> Cc: nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/3063: Explicit specification of a template-argument gives syntax error inside a template function. Date: 08 Jun 2001 00:39:20 +0200 Martin Sebor <sebor@roguewave.com> writes: | The following reply was made to PR c++/3063; it has been noted by GNATS. | | From: Martin Sebor <sebor@roguewave.com> | To: pme@gcc.gnu.org | 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, 07 Jun 2001 15:44:48 -0600 | | pme@gcc.gnu.org wrote: | > | > Synopsis: Explicit specification of a template-argument gives syntax error inside a template function. | > | > State-Changed-From-To: open->closed | > State-Changed-By: pme | > State-Changed-When: Thu Jun 7 14:35:40 2001 | > State-Changed-Why: | > | > Not a bug. The parser thinks that < means 'less than'. | > You're required by the c++ standard to write | > | > a.template func<char>(); // line 15 | | 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). Yes, that is a known bug, as I said a similar bug report. -- Gaby
next reply other threads:[~2001-06-07 15:46 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-07 15:46 Gabriel Dos Reis [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-06-08 2:36 Vincent Penquerc'h 2001-06-07 15:46 Gabriel Dos Reis 2001-06-07 14:56 Phil Edwards 2001-06-07 14:46 Martin Sebor 2001-06-07 14:35 pme 2001-06-06 6:46 carlo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010607224600.10358.qmail@sourceware.cygnus.com \ --to=gabriel.dos-reis@cmla.ens-cachan.fr \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).