...tor*过:const Rational operator*(const Rational& lhs, const Rational& rhs); 你可以看到,左手操作数(left-hand operand)a 在函数内部以 lhs 的面目出现,而右手操作数(right-hand operand)b 以 rhs 的面目出现。
基于1个网页-相关网页
In particular, the operators return their left-hand operand as their result.
尤其是,这些操作符返回左操作数作为运算结果。
Because the operator returns its left-hand operand, we can combine a sequence of input requests into a single statement.
由于输入操作符返回其左操作数,我们可以将输入请求序列合并成单个语句。
The important thing to keep in mind is that if the left-hand operand is dereferenced, then the value pointed to is changed.
谨记区分的重要方法是:如果对左操作数进行解引用,则修改的是指针所指对象的值;
应用推荐