How to Simplify Object Comparisons with Ties in C++11/14
When we want to check the equality of objects or compare them, we need to provide appropriate comparison operators for our class. The implementation usually needs to delegate comparisons to the corresponding member variables.
The typical code might l...
blog.infotraining.pl3 min read