1. A unary operator is an operator that operates on a single operand.
“一元运算符”是一种对单个操作数进行运算的运算符。

来自互联网

2. A definition of a unary operator where the argument is of the type of your class or structure.
一元运算符的定义,其中的参数是您的类或结构的类型。

来自互联网

3. A unary operator is named by using the key word operator followed by the unary operator symbol.
单目操作符(unary operator)是通过在关键字operator后跟单目运算符符号来命名的。

来自互联网

4. A return type and a single parameter are set for UML operation that represents a unary operator.
表示单目运算符的UML操作还设置有返回类型和一个参数。

来自互联网

5. In the final example, the value of the HOME variable is tested to see if it is a directory using the -d unary operator.
在最后一个示例中,测试home变量的值,用单目操作符- d检查它是不是目录。

来自互联网

6. A UML operation representing a binary operator is named similarly to unary operator, but the symbol is one of the binary operators.
表示双目运算符(binaryoperator)的UML操作的命名方式类似于单目运算符,但符号是双目运算符之一。

来自互联网

7. The power operator binds more tightly than unary operators on its left; it binds less tightly than unary operators on its right. The syntax is.
幂运算符比在操作数左边的一元运算符有更高的优先级;但比右面的一元运算符要低。句法为。

来自互联网

8. Note that numeric literals do not include a sign; a phrase like -1 is actually an expression composed of the unary operator '-' and the literal 1.
注意数值型的字面值不包括符号(译注:正负号),像-1实际上是个组合了一元运算符“-”和字面值1的表达式。

来自互联网

9. Defining this unary "operator" in Scala is slightly tricky, but it's purely a syntactic nit.
在Scala中定义这种一元“操作符”需要一点技巧,但这只是语法上的问题而已。

来自互联网

10. What is the difference between the unary minus operator and the binary subtraction operator?
一元操作符负号和二元操作符减号的区别是什么?

来自互联网

11. For example, the unary increment operator is named as operator + +.
举例来说,单目增量运算符命名为operator + +。

来自互联网

12. In our arithmetic expressions we could have used inheritance to get from a unary to a binary operator node, but that would substantially violate the test.
在我们的四则运算表达式里面我们可以利用继承实行从一元到二元操作符的表示,但它实质上会干扰测试。

来自互联网

13. The result of the unary - operator is the negative of its (promoted) operand. The integer promotions are performed on the operand, and the result has the promoted type.
因此减号操作符的运算结果类型依赖于操作数被提升之后的类型。

来自互联网

14. In Syntax 2, the - operator is used as the unary negation operator to indicate the negative value of an expression.
在语法2中,-运算符用作一元求反运算符,指示表达式的负值。

来自互联网

15. In Syntax 2, the - operator is used as the unary negation operator to indicate the negative value of an expression.
在语法2中,-运算符用作一元求反运算符,指示表达式的负值。

来自互联网