[Bug c++/82840] call to conversion operator instead of converting constructor in c++17 during overload resolution

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 10 12:01:55 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82840

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm, clang also returns 1 for -std=c++17 also.
MSVC and ICC both return 0 for -std=c++latest.


More information about the Gcc-bugs mailing list