C++20 three way comparison operator: Part 7
5 min readJul 12, 2021
In the fifth and sixth part of the tutorial series, I explained the comparison category std::strong_ordering
and std::weak_ordering
respectively with examples and use cases. In this part of the tutorial series, we take a closer look at the third and final comparison category, i.e. std::partial_ordering
.
std::partial_ordering
has already been used in part four of the tutorial series to…