词典宝
更多
查询
1 词典释义:
copy constructor
时间: 2026-05-06 16:05:03

复制构造函数

双语例句
  • Is this a valid copy constructor?

    这是一个有效的拷贝构造函数吗?。

  • Why does this code invoke the copy constructor?

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

  • Which class definition is likely to need a copy constructor?

    哪个类定义可能需要一个复制构造函数?

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

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

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

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

  • Again, if you don't provide a copy constructor, the compiler generates one for you, again just copying the members using the copy constructor.

    再一次,如果你不提供一个拷贝构造函数,编译器生成一个你,再一次复制使用拷贝构造函数成员。

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

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

  • If we do not define the copy constructor, the compiler synthesizes one for us.

    如果没有定义复制构造函数, 编译器就为我们合成一个.

  • The compiler is eliding the call (actually, two calls) to the copy constructor.

    编译器是省略调用(实际上,两与复制构造函数调用)。

  • As shown, our copy constructor and assignment operator use much of the same code.

    可以看到,我们的拷贝构造函数和付值操作符使用了许多相同的代码。

相关推荐

widowhood是什么意思_widowhood单词用法

Widows and orphans是什么意思_Widows and orphans单词用法

widows and widowers是什么意思_widows and widowers单词用法

acetylene black是什么意思_acetylene black单词用法

thousand island dressing是什么意思_thousand island dressing单词用法

continuous progress是什么意思_continuous progress单词用法

acetyl-CoA是什么意思_acetyl-CoA单词用法

Acetyl CoA是什么意思_Acetyl CoA单词用法

widthways是什么意思_widthways单词用法

bacteriochlorophyll是什么意思_bacteriochlorophyll单词用法