19 Feb
2023
19 Feb
'23
10:48 p.m.
On 18/02/2023 06:41, Andrey Semashev wrote:
I wouldn't say so. We still haven't fixed Boost.Operators (not for the lack of trying), which still remains officially broken in C++20.
AFAIK, the whole point of the spaceship changes was essentially to deliberately deprecate Boost.Operators; it should be no longer necessary to use any of it, because the compiler now does almost all of it for you. (Also, can someone explain why x == y <==> y == x is controversial? I have a hard time picturing a use case where you deliberately intend these to be non-commutative, outside of pathological library-fights.)