不能在相等运算符的重载实现中使用默认相等运算符。
You cannot use the default equality operator in an overloaded implementation of the equality operator.
运算符重载允许创建与语言无缝集成的新数据类型。
Operator overloading allows new data types to be created that seamlessly integrate into the language.
尤其是运算符重载,这种情况出现的时候。
The reason I say that is, by having operator overloading I can use 1 generic interface to all of the objects that I want to use.
他在大多数情况下都是对的,我要这么说的原因是,通过运算符重载我可以,用一个通用的借口对。
One of the other things we showed last time is that operators are overloaded.
我们上次讲过的一个话题,是运算符的重载。
Especially in the presence of operator overload.
尤其是运算符重载,这种情况出现的时候。
应用推荐