词典宝
更多
查询
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.

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

相关推荐

wait wait me是什么意思_wait wait me单词用法

wait-and-see是什么意思_wait-and-see单词用法

wait-and-see approach是什么意思_wait-and-see approach单词用法

wait-and-see attitude是什么意思_wait-and-see attitude单词用法

Waiter & Waitress是什么意思_Waiter & Waitress单词用法

Waiters and Waitresses是什么意思_Waiters and Waitresses单词用法

Waiting anxiously是什么意思_Waiting anxiously单词用法

Americans with Disabilities Act是什么意思_Americans with Disabilities Act单词用法

waiting area是什么意思_waiting area单词用法

Americanized是什么意思_Americanized单词用法