Overload operators that have related meanings so that their behavior is consistent. For example, when overloading the equality ...

Overload operators that have related meanings so that their behavior is consistent. For example, when overloading the equality operator, you should also overload the inequality operator to ensure they return opposite results for the same input values.