title: C++20 default equality / inequality
body: <p>C++20 gives us the spaceship operator and even allows us to <code>default</code> it, generating all comparisons with default semantics, which will remove a lot of boilerplate from our code bases, great!</p>
  <p>But how about equality and inequality? Does C++20 also give us a way to <code>default</code> equality and inequality? <s>According to <a href="https://en.cppreference.com/w/cpp/language/default_comparisons" rel="nofollow noreferrer">cppreference.com</a>, defaulting spaceship will only give us <code>&lt;</code> <code>&lt;=</code> <code>&gt;</code>, and <code>&gt;=</code>, but not <code>==</code> and <code>!=</code>. Given that I usually need equality/inequality way more often than greater/less, this seems to be quite unfortunate.</s> So, is there a way to also (or only) default generate <code>==</code> and <code>!=</code> in C++20?</p>
  <p>Update: The page now contains a description for defaulting <code>operator==</code>. Seems that I accessed the page like two hours before the documentation for this was added. :D</p>