14.7 — Overloading the comparison operators
In lesson , we discussed the six comparison operators. Overloading these comparison operators is comparatively simple (see what I did there?), as they follow the same patterns as we’ve seen in overloading other operators. Because the comparison operators are all binary operators that do not modify their left operands, we …