https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96489
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is correct, [class.compare.default] p5 says:
If the member-specification does not explicitly declare any member or friend
named operator==, an == operator function is declared implicitly for each
three-way comparison operator function defined as defaulted in the
member-specification