public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: nathan@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, sebor@roguewave.com Subject: Re: c++/3902: gcc 3.0 unable to resolve an overload taking the address of a template member Date: Wed, 01 Aug 2001 02:43:00 -0000 [thread overview] Message-ID: <20010801094300.21928.qmail@sourceware.cygnus.com> (raw) Synopsis: gcc 3.0 unable to resolve an overload taking the address of a template member State-Changed-From-To: open->suspended State-Changed-By: nathan State-Changed-When: Wed Aug 1 02:42:59 2001 State-Changed-Why: this is a parser bug, which will be fixed by the ongoing new parser work. In case you've not noticed, the first function declaration S foo (T (T)) is ambiguous - is the second T an parameter name with extra parentheses, or a parameter list? You and the std require the latter interpretation, g++ takes the former. See 8.2/7 you can work around it by introducing a dummy name. S foo (T _name_ (T)) http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3902&database=gcc
next reply other threads:[~2001-08-01 2:43 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-01 2:43 nathan [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-07-31 11:56 sebor
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=20010801094300.21928.qmail@sourceware.cygnus.com \ --to=nathan@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ --cc=sebor@roguewave.com \ /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).