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

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

    youdao

  • They do not contain constructors, copy assignment operators, destructors, or non-static data members that are not themselves PODS.

    这些资料结构不包含建构函式、复制指派运算子,或本身不是PODS的非静态资料成员。

    youdao

  • Professor, a few of us at the back didn't get your copy of reading as assignment.

    教授,我们后面的几个人没有拿到阅读作业的复印件。

    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

  • Extract the files in this directory and create a copy of the VMM-People-Assignment-Criteria.xml file to add a new people assignment criterion.

    在此目录下提取文件,并创建V MM -People -Assignment - Criteria . xml文件的一个副本,来添加一个新人员分配标准。

    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

  • Objects don't need copy-constructors or assignment operators to be stored in intrusive containers.

    对象不需要复制构造函数或赋值操作符来保存到介入式容器中。

    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

  • Use this copy to prepare your answers. This is because you will NOT be able to save your answers online, and then come back to finalise your assignment at a later date.

    使用此副本准备你的答案,这是因为您将不能够在线保存你的答案,然后再回来完成你的任务。

    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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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