Click here to Skip to main content
15,891,685 members
Articles / Programming Languages / C++20

Mirror mirror on the wall, who’s the greatest (or smallest or equal) of them all? (Part one)

31 Oct 2022CPOL 0  
In this series of two articles, I will untangle and explain everything you need to know about the new C++20 operator, AKA the spaceship operator, so you can compare with ease...
Do you know the story about the boy who never said a word until he was 10 years old? The new three-way-comparison operator presented in the C++20 standard, is a bit like this little boy —and if this intro doesn’t make any sense, to many C++ developers neither does the new operator. In this series of two articles, I will untangle and explain everything you need to know about the new operator, AKA the spaceship operator, so you can compare with ease.
Only logged in members can view this content

Please go to the C++20 Table of Contents to view the list of available articles in this section.