EXAMPLE SENTENCES | ||
---|---|---|
如果编程语言支持运算符重载,则还应提供等号和不等号运算符的实现。 If your programming language supports operator overloading, you should also provide an implementation of the equality and inequality operators. | ||
所以你并不需要使用赋值运算符。 So you don't have to use the assignment operator. | ||
举例来说,单目增量运算符命名为operator + +。 For example, the unary increment operator is named as operator + +. | ||
新运算符——创建委托实现类的实例。 New operator — creates an instance of the delegate implementation class. | ||
所以到现在为止,赋值运算符复制了很多数据。 So the assignment operator thus far makes copies of things. | ||
每个运算符都表示转换过程的一个步骤。 Each operator represents a step in the transformation process. | ||
在这里使用掩码、右移和左移运算符很方便。 The use of masks, and the right and left shift operators, come in handy here. | ||
串联运算符将多个字符串联接为一个字符串。 Concatenation Operators join multiple strings into a single string. | ||
你们还会看到一些运算符有奇怪的含义。 One of the other things you're going to see is that some of the operators have odd meanings. | ||
所以在挑选三元运算符时,请务必权衡一下利弊。 So be sure to ponder your reasons when choosing the ternary operator. | ||