hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

Šimon Tóth

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: compiler-explorer.com/z/EacnzK