Re: [PATCH] c++: shortcut bad convs during overload resolution [PR101904]

2021-09-03 Thread Patrick Palka via Gcc-patches
On Thu, 2 Sep 2021, Jason Merrill wrote: > On 8/31/21 3:15 PM, Patrick Palka wrote: > > On Mon, 30 Aug 2021, Patrick Palka wrote: > > > > > In the context of overload resolution we have the notion of a "bad" > > > argument conversion, which is a conversion that "would be a permitted > > > with a

Re: [PATCH] c++: shortcut bad convs during overload resolution [PR101904]

2021-09-02 Thread Jason Merrill via Gcc-patches
On 8/31/21 3:15 PM, Patrick Palka wrote: On Mon, 30 Aug 2021, Patrick Palka wrote: In the context of overload resolution we have the notion of a "bad" argument conversion, which is a conversion that "would be a permitted with a bending of the language standards", and we handle such bad

Re: [PATCH] c++: shortcut bad convs during overload resolution [PR101904]

2021-08-31 Thread Patrick Palka via Gcc-patches
On Mon, 30 Aug 2021, Patrick Palka wrote: > In the context of overload resolution we have the notion of a "bad" > argument conversion, which is a conversion that "would be a permitted > with a bending of the language standards", and we handle such bad > conversions specially. In particular, we

[PATCH] c++: shortcut bad convs during overload resolution [PR101904]

2021-08-30 Thread Patrick Palka via Gcc-patches
In the context of overload resolution we have the notion of a "bad" argument conversion, which is a conversion that "would be a permitted with a bending of the language standards", and we handle such bad conversions specially. In particular, we rank a bad conversion as better than no conversion