public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "keean@fry-it.com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53573] template type dependant name resolution broken Date: Mon, 04 Jun 2012 13:33:00 -0000 [thread overview] Message-ID: <bug-53573-4-aMOIkpSBz8@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53573-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53573 --- Comment #2 from Keean Schupke <keean@fry-it.com> 2012-06-04 13:33:38 UTC --- The function called in the template definition is clearly dependent on the template parameter 'T' and therefore itsname should be resolved at the point of instantiation where 'g' is clearly defined and in scope (and is not local). The error message says: "no declarations were found by argument-dependent lookup at the point of instantiation" when 'g' should be found. See Technicalities C.13.8
next prev parent reply other threads:[~2012-06-04 13:33 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-04 13:08 [Bug c++/53573] New: " keean@fry-it.com 2012-06-04 13:31 ` [Bug c++/53573] " keean@fry-it.com 2012-06-04 13:33 ` keean@fry-it.com [this message] 2012-06-04 13:44 ` [Bug c++/53573] template type dependent " keean@fry-it.com 2012-06-04 16:38 ` keean@fry-it.com 2012-06-04 17:13 ` keean@fry-it.com 2012-06-05 9:06 ` keean@fry-it.com 2012-06-05 10:02 ` manu at gcc dot gnu.org 2012-06-05 10:15 ` keean@fry-it.com 2012-06-05 10:54 ` redi at gcc dot gnu.org 2012-06-05 11:03 ` redi at gcc dot gnu.org 2012-06-05 11:07 ` keean@fry-it.com 2012-06-05 11:14 ` keean@fry-it.com 2012-06-05 11:26 ` keean@fry-it.com 2012-06-05 11:31 ` redi at gcc dot gnu.org 2012-06-05 11:34 ` redi at gcc dot gnu.org 2012-06-05 11:53 ` keean@fry-it.com 2012-06-05 11:54 ` redi at gcc dot gnu.org 2012-06-05 11:57 ` redi at gcc dot gnu.org 2012-06-05 12:55 ` keean@fry-it.com 2012-06-05 16:31 ` paolo.carlini at oracle dot com 2012-06-05 17:01 ` keean@fry-it.com 2012-06-05 17:30 ` redi at gcc dot gnu.org 2012-06-27 6:48 ` keean@fry-it.com
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=bug-53573-4-aMOIkpSBz8@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).