
有道词典
网络释义
- 1. the copy constructor: 复制构造函数
- 2. References & the Copy-Constructor: 引用和拷贝构造函数
例句
- 1.Listing 2 shows a piece of code that results in a compile-time error because the copy constructor is private.
清单2显示了产生编译时错误的代码部分,因为该拷贝构造函数是私有的。
dict.yoduao.com
- 2.The noncopyable class definition presents no surprises, as the copy constructor and operator= are declared private.
noncopyable 类定义没有什么令人感到新奇的地方,因为 copy constructor 和 operator= 声明为 private。
dict.yoduao.com
- 3.If you do not write a correct code for the copy constructor, object within a list will have some data members uninitialized.
如果你没有为拷贝构造函数写正确的代码,就有可能造成list中对象的某些数据成员没有初始化。
dict.yoduao.com
©2026 网易公司