Re: [PATCH] c++: ambiguous call not diagnosed after DR2352 [PR97296]

2022-04-12 Thread Jason Merrill via Gcc-patches
On 4/12/22 18:50, Marek Polacek wrote: DR 2352 changed the definitions of reference-related (so that it uses "similar type" instead of "same type") and of reference-compatible (use a standard conversion sequence). That means that reference-related is now more broad, which means that we will be

[PATCH] c++: ambiguous call not diagnosed after DR2352 [PR97296]

2022-04-12 Thread Marek Polacek via Gcc-patches
DR 2352 changed the definitions of reference-related (so that it uses "similar type" instead of "same type") and of reference-compatible (use a standard conversion sequence). That means that reference-related is now more broad, which means that we will be binding more things directly. The