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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
   Last reconfirmed|                            |2026-09-30
     Ever confirmed|0                           |1
           Keywords|needs-stdcheck              |
                 CC|                            |jason at gcc dot gnu.org
         Resolution|INVALID                     |---

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Hmm, GCC assumes that non-eligible special member functions could never be
chosen by overload resolution, but that is not the case here due to difference
in "explicit".  And [over] doesn't consider "eligible", so it looks like GCC is
wrong.

P0848 doesn't seem to consider differences in explicit, perhaps it should be
included in [class.special] "kind" so that GCC's assumption is valid.

Reply via email to