一元运算子有一个参数,而二元运算子则有两个参数。
Unary operators have one parameter, and binary operators have two parameters.
在所有复合指派运算子上,多载二元运算子即隐含多载对等的复合指派。
On all compound assignment operators, overloading the binary operator implicitly overloads the equivalent compound assignment.
在所有复合指派运算子上,多载二元运算子即隐含多载对等的复合指派。
On all compound assignment operators, overloading the binary operator implicitly overloads the equivalent compound assignment.
应用推荐