https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116342
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Invalid as explained. There is no ADL for fundamental types, so you cannot customise their behaviour. In general, you should not attempt to customise behaviour for types you don't own. The behaviour of std::strong_order for float is fully specified by the standard.