如果编程语言支持运算符重载,则还应提供等号和不等号运算符的实现。
If your programming language supports operator overloading, you should also provide an implementation of the equality and inequality operators.
那个等号其实是个“赋值运算符。”
所以这是相等操作符,然而那个单等号是一个赋值运算符。
So this is the equality operator, whereas the single equal sign is the assignment operator.
So this is the equality operator, whereas the single equal sign is the assignment operator.
所以这是相等操作符,然而那个单等号是一个赋值运算符。
The equal sign is really called the "assignment operator."
那个等号其实是个“赋值运算符“
应用推荐