The spaceship operator and the operator universe
27 November 2023
A cautionary talk on implementing comparison operators, including changes introduced by C++20, the spaceship operator in particular. The talk will not explain in details how the spaceship operator works - some basic idea on the subject is advised for the audience. An important part of the lecture is demonstrating how to implement comparison much better than the compiler would by default, in some cases at least.