Does overloading '==' get you '!='?

前端 未结 4 1976
慢半拍i
慢半拍i 2020-12-15 02:27

If I manually overload the == operator for a structure, do I get the != operator for free (presumably defined to be the boolean opposite), or do I

4条回答
提交回复
热议问题