• A copy assignment operator is implemented by the compiler automatically unless you provide one.

    拷贝赋值运算符编译器自动实现除非提供一个

    youdao

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

    假定界讲拷贝机闭函数值操纵构函数中的一个,那么一样平常需供齐数界讲那函数。

    youdao

  • Now, try using a copy construction and operator assignment for class a, declared in Listing 15.

    现在尝试a使用复制结构运算符赋值清单15声明该类。

    youdao

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

    赋值操作符右边东西复制左边

    youdao

  • How to call to the copy constructor from the copy-assignment operator?

    如何复制赋值运算调用复制构造函数

    youdao

  • 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.

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

    youdao

  • Put the functionality you need in separate functions called by the destructor and the copy constructor and the assignment operator.

    放在单独功能调用析构函数拷贝构造函数运算符需要的功能。

    youdao

  • To manage a class with pointer members, we must define all three copy-control members: the copy constructor, assignment operator, and the destructor.

    为了管理具有指针成员必须定义三个复制控制成员:复制构造函数赋值操作符构函数。

    youdao

  • To resolve C2299, do not make the copy constructor or assignment operator a template function, but rather a non-template function that takes a class type.

    解决C2299,请不要使复制构造函数赋值运算符成为模板函数使其成为采用类型的非模板函数。

    youdao

  • When I return by value from an assignment operator, firstly what is the mechanism and basis of calling the copy constructor?

    返回操作符首先调用复制构造函数为基础机制

    youdao

  • Copy constructor or assignment operator?

    复制构造函数赋值操作符

    youdao

  • The assignment operator is applied on a initialized object, but this is not the case in the copy constructor.

    运算符应用一个初始化对象不是拷贝构造函数情况下

    youdao

  • The assignment operator is applied on a initialized object, but this is not the case in the copy constructor.

    运算符应用一个初始化对象不是拷贝构造函数情况下

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定