- 双语例句 更多例句
to see what happens when a cardgame object is destroyed, view the destructor for the cardgame class.
若要明白在Cardgame对象销毁时会发生什么,请查看Cardgame类的析构函数。
互联网摘选
this destructor would have to be called specifically before unsetting the parent class reference.
这种解构器必须在解除父类引用之前进行调用。
互联网摘选
In both cases, while a constructor or destructor is running, the object is incomplete.
在这两种情况下, 运行构造函数或析构函数的时候, 对象都是不完整的.
互联网摘选
萨格拉斯的副官——污染者阿克蒙德和毁灭者玛诺洛斯——已经准备好要率领他们的爪牙发起进攻了。
互联网摘选
但是,如果需要异常处理,那么只能在TearDown代码中进行,因为从析构函数中抛出异常会导致不确定的结果。
互联网摘选
析构函数提供了适当的保护措施, 如自动调用基类型的析构函数.
互联网摘选
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.
基类几乎总是需要构造函数,从而可以将析构函数设为虚函数.
互联网摘选
In the class destructor we will print out the final value of the counter.
在类的析构函数中我们将打印计数器变量的最终值.
互联网摘选
特殊成员函数(复制构造函数 、 赋值操作符和析构函数)可用于定义这些操作.
互联网摘选
When implementing a constructor or destructor in assembler, be sure to preserve the DL register.
当在内嵌汇编程序中实现构造器或析构器时, 应确认保持DL寄存器.
网络文摘精选
析构方法按类似的方式命名,除了它的母体名前有一个~(否定号)。
互联网摘选
- 相关词组
- refuse destructor plant垃圾焚烧炉装置
- refuse destructor furnace废渣焚烧炉
- self-powered destructor自供电自炸装置
- 今日热词
- 热门搜索
- journalist n.新闻记者;
- jealous adj.妒忌的;羡慕的;精心守护的;吃醋的;
- whistle v.吹口哨;呼啸着行进;鸣叫;(鸟类)啭鸣;n.哨子;哨子声;汽笛声;
- stroke n.中风;(铅笔等的)笔画;划水动作;游法;钟声;击球;一件(幸运的)事;(灵感)突发;v.抚摩;轻拭;
- mainland n.大陆;本土;
- winter is coming 冬天来了
- cycle v.骑自行车;n.自行车;摩托车;整套;循环;组诗;
- cow n.奶牛,母牛;雌性动物;婆娘;v.恐吓;吓唬;威胁;
- patriotic adj.爱国的,有爱国心的;爱国主义的;
- w abbr. wickets (板球)三柱门;n. 英语字母中的第二十三个字母;瓦特;
- p.c. abbr.per cent 百分比;
- tend v.倾向;趋于;趋向;往往会;常常就;招待,侍候,照顾,照料;照料;走向;护理;照管