One potentially surprising behaviour when using the C++20 (spaceship) operator<=> is that unlike the defaulted version, a custom implementation will not generate equality comparison operators.
A custom operator<=> implies that the defaulted operator== wouldn't produce correct results, and for performance reasons, using the output from operator<=> isn't desirable.
Compiler Explorer link: https://compiler-explorer.com/z/EacnzK58K