1、

On all compound assignment operators, overloading the binary operator implicitly overloads the equivalent compound assignment.

对于所有复合赋值运算符, 隐式重载二元运算符会重载等效的复合赋值.

互联网摘选

2、

The compiler cannot generate an assignment operator for the given class.

编译器无法为给定的类生成赋值运算符.

互联网摘选

3、

When a binary operator is overloaded, the corresponding assignment operator, if any, is also implicitly overloaded.

重载二元运算符时, 也会隐式重载相应的赋值运算符(如果有).

互联网摘选

4、

To avoid this warning, specify a user-defined assignment operator for the class.

若要避免出现此警告, 请为该类指定用户定义的赋值运算符.

互联网摘选

5、

Explicitly define an assignment operator for the class.

为类显式定义赋值运算符.

互联网摘选

6、

The assignment operator cannot be overloaded.

不能重载赋值运算符.

互联网摘选

7、

Like constructors, the assignment operator may be overloaded by specifying different types for the right-hand operand .

与构造函数一样, 赋值操作符可以通过指定不同类型的右 操作数 而重载.

互联网摘选

8、

An assignment operator stores the value of the right expression into the left expression.

赋值操作符把右边表达式的值赋值给左边的表达式.

互联网摘选

9、

The synthesized assignment operator member wise assigns the right-hand operand to the left.

合成赋值操作符将右 操作数 逐个成员地赋值给左操作数.

互联网摘选

10、

The assignment operator assigns, member by member, from the old object to the new.

赋值操作符将成员依次从旧对象赋值给新对象.

互联网摘选

11、

Making the class assignment operator virtual is likely to be confusing and unlikely to be useful.

将类的赋值操作符设为虚函数很可能会令人混淆,而且不会有什么用处.

互联网摘选

12、

The goal here is to avoid accidentally using the single-equals assignment operator instead of the double-equals comparison operator

目标在于避免意外地使用单等号赋值运算符而非双等号比较运算符

互联网摘选

  • 今日热词
  • 热门搜索

纳米英语英语词典(dict.nm3.cn)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈