C++20: More Details to the Spaceship Operator--Rainer Grimm
More on the next standard.
C++20: More Details to the Spaceship Operator
by Rainer Grimm
From the article:
The compiler performs quite a clever job when it generates all six comparison operators. On the end, you get the intuitive and efficient comparison operators for free. Let me dive with this post into the details of the spaceship operator...