• How to write a copy constructor?

    如何一个复制构造函数

    youdao

  • Is this a valid copy constructor?

    一个有效拷贝构造函数吗?

    youdao

  • You know that Set has a copy constructor.

    知道Set一个拷贝构造函数

    youdao

  • Why doesn't my copy constructor work?

    为什么没有复制构造函数工作吗?

    youdao

  • Why copy constructor is not called here?

    为什么复制构造函数吗?

    youdao

  • Why ampersand is used in copy constructor?

    为什么字号用于复制构造函数

    youdao

  • Now for copy constructor which is a good way.

    现在拷贝构造函数一个方法。

    youdao

  • Is this implicitly calling a copy constructor?

    式调复制构造函数?

    youdao

  • Why does this code invoke the copy constructor?

    为什么段代码调用复制构造函数

    youdao

  • Modeling constructor, destructor, and copy constructor.

    建模构造函数、分析构造函数,以及拷贝构造函数。

    youdao

  • You should create a copy constructor for each object yourself.

    应该创建一个拷贝构造函数每个对象自己

    youdao

  • Why am I not provided with a default copy constructor from a volatile?

    为什么具有挥发性的默认复制构造函数

    youdao

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

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

    youdao

  • Copy constructor is needed only in the case of dynamic memory allocation?

    拷贝构造函数需要情况下动态内存分配吗?

    youdao

  • The copy constructor is called because you call by value not by reference.

    复制构造函数是因为呼叫价值不是参考

    youdao

  • You didn't define a copy constructor so a default one was created by the compiler.

    没有定义复制构造函数,默认编译器创建的。

    youdao

  • The C++ standard allows for the copy constructor to be elided in certain situations.

    c++标准允许拷贝构造函数省略某些情况下

    youdao

  • The idea is to create a protected copy constructor aside from the default constructor.

    保护想法创建一个拷贝构造函数除了默认构造函数。

    youdao

  • The first case is redundant, why declare the copy constructor, make it private, and not implement it.

    第一病例多余的,为什么声明拷贝构造函数使私人实现

    youdao

  • Listing 2 shows a piece of code that results in a compile-time error because the copy constructor is private.

    清单2显示产生编译时错误代码部分因为拷贝构造函数私有的。

    youdao

  • You do not need a copy constructor, and you need never sweat the gory details of implementing a clone method.

    需要使用复制构造函数并且永远也不需要大汗淋漓地去实现clone方法那些令人惨不忍睹的细节

    youdao

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

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

    youdao

  • The noncopyable class definition presents no surprises, as the copy constructor and operator= are declared private.

    noncopyable定义没有什么令人感到新奇的地方,因为copy constructoroperator= 声明 private。

    youdao

  • How else could you use that return instruction to create and return an object and yet not use the copy constructor?

    不然怎么使用返回指令创建返回一个对象使用复制构造函数

    youdao

  • In the first case, you are essentially declaring a private copy constructor and then not providing any implementation.

    第一情况下基本上声明一个私有拷贝构造函数然后没有提供任何实现。

    youdao

  • If you do not write a correct code for the copy constructor, object within a list will have some data members uninitialized.

    如果没有拷贝构造函数正确代码有可能造成list对象某些数据成员没有初始化。

    youdao

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

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

    youdao

  • The only other thing to note in Listing 17 is that the definitions for the copy constructor and operator= methods are not provided.

    清单17注意一点提供copy constructoroperator=方法定义

    youdao

  • Put the functionality you need in separate functions called by the destructor and the copy constructor and 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

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

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

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