C++20 three way comparison operator: Part 4--Gajendra Gulgulia

The series continue.

C++20 three way comparison operator: Part 4

by Gajendra Gulgulia

From the article:

In the third part of the tutorial series, I uncovered the mechanics of operator <=> and explained in detail, how the compiler re-writes the comparison expression on a custom object with only operator<=> declared as default and how additionally it can make use of synthesized expression to reverse the operands during expression re-writing process. If you haven’t read the third part, I strongly encourage you to read it before reading this tutorial...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.