描述重载运算符的准则。
除赋值运算符外, 重载运算符可由派生类继承下去。
Outside dividing assignment operation accord with, heavy carry calculates Fu Ke by derive kind successive go down.
一方面为一个类重载运算符增加了代码的物流和可读性。
On one hand overloading operators for a class you have created can help with logistics and readability of code.
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.
尤其是运算符重载,这种情况出现的时候。
应用推荐