以上来源于: WordNet
More consistent, symmetric operator overloading.
更一致的、对称的操作符重载。
In Listing 2, you can see the operator overloading I set up in Listing 1 in action.
在清单2中,可以看到我在清单1中设置的操作符重载的效果。
Operator overloading - overloading operator allows the DSL to provide a natural syntax.
运算符重载——对运算符进行重载可以使DSL可以提供一个更为自然的语法。
OK, in each case, what these things are doing, is they're doing, what sometimes gets referred to as operator overloading.
这将会是个默认的或者说是,通用的来比较对象是否相同的方法,好,在每个例子中,这些事情正在做的,就是,一些与操作符重载有关的东西。
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.
他在大多数情况下都是对的,我要这么说的原因是,通过运算符重载我可以,用一个通用的借口对。
So there are some downsides, in my view, to doing operator overloading, but there's some real pluses.
它还可以应用于其他一些东西,因此这样做操作符重载,就会产生一些负面影响了,以我的观点来看的话。
应用推荐