What is the (“spaceship”, three-way comparison) operator in C++?

While I was trying to learn about C++ operators, I stumbled upon a strange comparison operator on cppreference.com,* in a table that looked like this: “Well, if these are common operators in C++, I better learn them”, I thought. But all my attempts to elucidate this mystery were unsuccessful. Even here, on Stack Overflow I … Read more