https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105202
--- Comment #3 from Jakub Jelinek ---
I don't know.
https://eel.is/c++draft/dcl.fct.def.default#1.1
says that defaulted comparison operator function doesn't have to be a special
member function, but then
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105202
--- Comment #2 from Florian Albrechtskirchinger ---
(In reply to Martin Liška from comment #1)
> Is the code invalid, right?
I'd say so, yes.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105202
Martin Liška changed:
What|Removed |Added
Ever confirmed|0 |1
Keywords|