单词 | copy constructor | ||||||||||||||
释义 | copy constructor
更多释义 收起释义 例句释义: 拷贝构造函数,复制构造函数,复制建构函式 1. A copy constructor was not accessible in a base class and was therefore not generated for a derived class. 不可访问基类中的复制构造函数,因此无法为派生类生成复制构造函数。 technet.microsoft.com 2. The copy constructor created ( synthesized ) by the compiler for classes that do not explicitly define the copy constructor. 由编译器为没有显式定义复制构造函数的类创建(合成)的复制构造函数。 dictsearch.appspot.com 3. Also enable the Named Return Value optimization , which eliminates the copy constructor and destructor of a stack based return value . 也支持命名返回值优化,它消除了基于堆栈的返回值的复制构造函数和析构函数。 www.bing.com 4. Og also enables the Named Return Value optimization, which eliminates the copy constructor and destructor of a stack based return value. Og还会启用命名的返回值优化,此优化可消除基于堆栈的返回值的复制构造函数和析构函数。 msdn2.microsoft.com 5. If the default copy constructor and assignment operator are acceptable, add a comment stating this to your class declaration. 如果默认的拷贝构造函数和付值操作符是可取的,在你的类生命中增加一条注释说明这些。 spaces.msn.com 6. When an object is created as a copy of another, the copy constructor copies the pointer and increments the associated use count. 当对象作为另一对象的副本而创建时,复制构造函数复制指针并增加与之相应的使用计数的值。 dictsearch.appspot.com 7. If you do not write a correct code for the copy constructor, object within a list will have some data members uninitialized. 如果你没有为拷贝构造函数写正确的代码,就有可能造成list中对象的某些数据成员没有初始化。 blog.sina.com.cn 8. Classes that can use the synthesized copy constructor usually can use the synthesized assignment operator as well. 可以使用合成复制构造函数的类通常也可以使用合成赋值操作符。 dictsearch.appspot.com 9. Indicates that any copying of values of this type must use the copy constructor provided by the type. 指示对此类型的值的任何复制操作都必须使用由该类型提供的复制构造函数。 msdn2.microsoft.com 10. The copy constructor. Copies the contained elements, hash function, predicate, maximum load factor and allocator. 复制构造函数。复制所含的元素、散列函数、谓词、最大负载因子和分配器。 boost-doc-zh.googlecode.com 1. This section discusses modeling the constructor, destructor, and copy constructor for a C class. 这个部分讨论了为一个C 类建模构造函数,分析构造函数,以及拷贝构造函数。 www.ibm.com 2. The noncopyable class definition presents no surprises, as the copy constructor and operator= are declared private. noncopyable类定义没有什么令人感到新奇的地方,因为copyconstructor和operator=声明为private。 www.ibm.com 3. The synthesized copy constructor member wise initializes the new object from the existing one. 合成复制构造函数将原对象逐个成员地初始化新对象。 dictsearch.appspot.com 4. If we do not define the copy constructor, the compiler synthesizes one for us. 如果没有定义复制构造函数,编译器就为我们合成一个。 dictsearch.appspot.com 5. Which of the following class DOES NOT need a copy constructor? 下面所列举的类哪个不需要拷贝构造函数? zhidao.baidu.com 6. Which class definition is likely to need a copy constructor? 哪个类定义可能需要一个复制构造函数? dictsearch.appspot.com 7. This method serves as a copy constructor for nodes. 该方法用作节点的复制构造函数。 msdn2.microsoft.com 8. Listing 2 shows a piece of code that results in a compile-time error because the copy constructor is private. 清单2显示了产生编译时错误的代码部分,因为该拷贝构造函数是私有的。 www.ibm.com 9. Often the hardest part about defining a copy constructor is recognizing that a copy constructor is needed. 通常,定义复制构造函数最困难的部分在于认识到需要复制构造函数。 dictsearch.appspot.com 10. When it can do so, the compiler is permitted (but not obligated ) to skip the copy constructor and create the object directly. 当情况许可时,可以允许编译器跳过复制构造函数直接创建对象,但编译器没有义务这样做。 dictsearch.appspot.com 1. Modeling constructor, destructor, and copy constructor 建模构造函数、分析构造函数,以及拷贝构造函数 www.ibm.com 2. The compiler could not generate a default copy-constructor for a class; 编译器未能为类生成默认的复制构造函数; 207.46.16.251 3. Compiler could not generate Copy constructor for Class 编译器不能生成所需的拷贝构造函数 course.cugnc.com |
||||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。