This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/561 (overload resolution by cast to pmf of derived class)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 15 Feb 2010 07:56:41 -0800
- Subject: Re: C++ PATCH for c++/561 (overload resolution by cast to pmf of derived class)
- References: <4B057925.9080800@redhat.com>
On Thu, Nov 19, 2009 at 8:58 AM, Jason Merrill <jason@redhat.com> wrote:
> Issue 202 was resolved to clarify that overload resolution based on a cast
> to pointer to member function does not consider the class type of a member
> function, so this patch changes G++ to use the corresponding FUNCTION_TYPE
> for comparing member function types.
>
> Tested i686-pc-linux-gnu, applied to trunk.
>
This caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43079
--
H.J.