[Bug c++/102283] Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 16 17:46:40 GMT 2021


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Patrick Palka from comment #1)
> According to http://eel.is/c++draft/over.ics.rank#3.3 the two ICSes should
> be incomparable since they initialize different classes, so at least
> according to that paragraph it appears GCC is behaving correctly here.

I agree with your reading.


More information about the Gcc-bugs mailing list