This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] deprecate overload resolution extension?
>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
> The only thing I find in ChangeLog.2 relating to this is,
> Tue Aug 27 13:12:21 1996 Jason Merrill <jason@yorick.cygnus.com>
> * call.c (add_builtin_candidate): Use TYPE_PTROB_P instead of
> ptr_complete_ob.
> (joust): If we're comparing a function to a builtin and the worst
> conversion for the builtin is worse than the worst conversion for the
> function, take the function.
> I can't tie this up to a test case.
> ring any bells?
Nope. I only remember that when I reimplemented overload resolution,
things started breaking that it seemed reasonable to support, so I added
that extension.
Jason