Assignment Operator

美 [əˈsaɪnmənt ˈɑːpəreɪtər]英 [əˈsaɪnmənt ˈɒpəreɪtə(r)]
  • 网络分配运算符;指定运算子
Assignment OperatorAssignment Operator
  1. Everything to the right of the assignment operator

    赋值操作符右边的所有内容

  2. Everything to the left of the assignment operator

    赋值操作符左边的所有内容

  3. So you don 't have to use the assignment operator .

    所以你并不需要使用赋值运算符。

  4. Left side of assignment operator must be variable or property

    赋值运算符左边必须是变量或属性

  5. So the assignment operator thus far makes copies of things .

    所以到现在为止,赋值运算符复制了很多数据。

  6. As the construction function has three kinds of different conditions , assignment operator overriding must be given attention .

    构造函数有三种情况,在重载赋值运算符时一定要分清楚。

  7. Break long assignments before the assignment operator .

    在赋值操作符前将长表达式截断。

  8. However , the assignment operator survived optimization and got exported from a DLL .

    而赋值运算符在优化之后还存活并从DLL中导出。

  9. So this is the equality operator , whereas the single equal sign is the assignment operator .

    所以这是相等操作符,然而那个单等号是一个赋值运算符。

  10. Optionally , you can change or uninitialize the test variable by using the variable assignment operator .

    您还可以选择,使用变量分配操作器来更改或者不初始化测试变量。

  11. Well , the assignment operator makes a copy of the thing on the right and puts it in the thing on the left .

    赋值操作符把右边的东西,复制到左边。

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

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

  13. Each class ( whose instance will go into the container ) must implement at least the copy constructor ( it is good to implement also the assignment operator .

    每个类(其实例要在容器内使用)必须至少实现拷贝构造函数(实现赋值运算符,也是好习惯)。

  14. If you need to make your class non-copyable , the typical way is to make the copy constructor and the assignment operator of the class private or protected .

    如果您需要使类成为不可复制的,典型的实现方法是将类的复制构造函数和赋值运算符设置为private或protected。

  15. If a class defines a copy constructor , acopy assignment operator , or a destructor , then it should define all three .

    如果一个类定义了拷贝构造函数、赋值操作符、析构函数中的一个,那么通常需要全部定义这仨函数。

  16. By overloading the assignment operator and exploiting the deterministic finalization provided by C + + scoping , C + + programs can use the string class as if it were garbage collected .

    通过重载赋值操作符并利用C++作用域提供的确定性结束,C++程序可以将string类当成是被收集的垃圾那样使用。

  17. A careful reader must have already noticed that the Dependency Walker tool showes an additional exported member , that is the CXyz CXyz : : operator = ( const CXyz ) assignment operator .

    一个细心的读者必然已经注意到DependencyWalker工具显示了额外的导出成员,那就是CXyzCXyz::operator=(constCXyz)赋值操作符。

  18. On spectrum assignment of operator

    算子的谱配置问题