This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Make taking the address of an overloaded function a non-deduced context


On Wed, Aug 30, 2017 at 1:08 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 30 August 2017 at 19:07, Jason Merrill <jason@redhat.com> wrote:
>> Please also remove the error.  OK with that change.
>
> Here's a new and much improved version as discussed on IRC. Tested on
> Linux-PPC64.
> Ok for trunk?
>
> 2017-08-30  Ville Voutilainen  <ville.voutilainen@gmail.com>
>
>     Make taking the address of an overloaded function a non-deduced context
>
>     cp/
>
>     * pt.c (unify_overload_resolution_failure): Remove.
>     (unify_one_argument): Adjust.

Please add a comment before unify_success along the lines of "If there
isn't a unique match, this is a non-deduced context, so we still
succeed."  OK with that change.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]