This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] 28705 & koenig lookup
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>, Jason Merrill <jason at redhat dot com>
- Date: 28 Aug 2006 15:00:44 -0500
- Subject: Re: [C++ Patch] 28705 & koenig lookup
- References: <44F31B8B.2000004@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com> writes:
[...]
| This patch changes G++ to ignore non-function non-variable entities
| during koenig lookup. This makes G++ accept strictly more programs
| than it did before. I don't think it causes G++ to reject a program it
| previously accepted.
This touches the area we are actively discussing. One of the thinking
is that name lookup should apply uniformly. We are working on a
proposal to move the issue forward. In particular, we definitely
wouold like to see function objects found as you point out below. In
addition, we would like to see constructors added to the overload set
(that implies having types too).
| It does not make G++ match EDG's behaviour exactly, because G++
| accepts function objects during koenig lookup. I don't want to change
| that behaviour without a ruling on DR 218 from the committee.
agreed. Could we hold off a it and put this in suspended state?
Would be be at Portland?
-- Gaby