This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17365] Should Koenig lookup find non-functions?
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2004 00:51:04 -0000
- Subject: [Bug c++/17365] Should Koenig lookup find non-functions?
- References: <20040909014604.17365.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-09-10 00:51 -------
Subject: Re: Should Koenig lookup find non-functions?
gdr at integrable-solutions dot net wrote:
> Whether "argument dependent name lookup" should find a non-function
> is a HOT topic and an issue in Core, with active status. I don't
> think anything should be done in this area before we know where we
> head. Most definitely the wording is sufficiently ambiguous to allow
> GCC behaviour. As noted in the corresponding Core issue, name lookup
> is applied uniformly and anything else is pure accident and should be
> fixed -- which means that ADL can find non-functions. Please consult
> the "summary" on the debate on the Core issue list (the whole debate
> is much much larger than the summary publically made available).
Thanks for the explanation. Yes, we can keep this suspended, the patch was
merely a proof of concept.
Giovanni Bajo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17365