I have implemented operator< for a certain object.
Logically, if !(a < b) and !(b < a) it means a == b.
Is this inferred automatically? Can I use == if I only implement <?
I have implemented operator< for a certain object.
Logically, if !(a < b) and !(b < a) it means a == b.
Is this inferred automatically? Can I use == if I only implement <?