public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Martin Sebor <sebor@roguewave.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/9510: Compilation fails when calling member function templated on integer Date: Sun, 02 Feb 2003 19:26:00 -0000 [thread overview] Message-ID: <20030202192600.16231.qmail@sources.redhat.com> (raw) The following reply was made to PR c++/9510; it has been noted by GNATS. From: Martin Sebor <sebor@roguewave.com> To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/9510: Compilation fails when calling member function templated on integer Date: Sun, 02 Feb 2003 12:15:05 -0700 bangerth@dealii.org wrote: > Synopsis: Compilation fails when calling member function templated on integer > > State-Changed-From-To: open->closed > State-Changed-By: bangerth > State-Changed-When: Sat Feb 1 20:42:44 2003 > State-Changed-Why: > Not a bug. You need to write > ms.template TemplatedMemberFunction<I_> > ^^^^^^^^ > since the expression is template parameter dependent. ms does not depend on a template parameter, so there is no need for the .template suffix. It is a well-known gcc bug to require the redundant template keyword here (possibly fixed by the recent parser changes). Regards Martin > > Wolfgang > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9510
next reply other threads:[~2003-02-02 19:26 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-02-02 19:26 Martin Sebor [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-02-03 20:08 bangerth 2003-02-03 20:04 bangerth 2003-02-01 20:42 bangerth 2003-01-30 17:36 morgan
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=20030202192600.16231.qmail@sources.redhat.com \ --to=sebor@roguewave.com \ --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).