- 双语例句
When implementing a constructor or destructor in assembler, be sure to preserve the DL register.
当在内嵌汇编程序中实现构造器或析构器时, 应确认保持DL寄存器.
——期刊摘选
The synthesized destructor is run after the class - defined destructor, if there is one, completes.
如果类定义了析构函数, 则在类定义的析构函数结束之后运行合成析构函数.
互联网
A base class almost always needs a destructor so that it can make the destructor virtual.
基类几乎总是需要构造函数,从而可以将析构函数设为虚函数.
互联网
Special member functions the copy constructor, the assignment operator, and the destructor define these operations.
特殊成员函数(复制构造函数 、 赋值操作符和析构函数)可用于定义这些操作.
互联网
We can directly call an object's destructor to destroy the object.
可以直接调用对象的析构函数来撤销对象.
互联网
In both cases, while a constructor or destructor is running, the object is incomplete.
在这两种情况下, 运行构造函数或析构函数的时候, 对象都是不完整的.
互联网
Destructors provide appropriate safeguards, such as automatically calling the base type's destructor.
析构函数提供了适当的保护措施, 如自动调用基类型的析构函数.
互联网
A destructor is called using an incorrect identifier.
使用错误的标识符调用析构函数.
互联网
In the class destructor we will print out the final value of the counter.
在类的析构函数中我们将打印计数器变量的最终值.
互联网
To call a destructor, you must reference instance object.
要调用析构器, 必需引用实例对象.
互联网
- 今日热词
- 热门搜索