go top

destructor function

  • 析构函数

网络释义

  析构函数

析构函数destructor function) 是一种特殊的类成员函数,它与构造函数的功能相反,在对象被撤消时, 自动执行一些例如释放内存空间等工作。

基于40个网页-相关网页

短语

destructor member function 析构成员函数

双语例句

  • Allows defining a destructor function that runs when an object is destroyed.

    允许定义一个函数对像崩溃的时候运行

    youdao

  • To create your constructor and destructor, declare two functions, then apply the constructor and destructor function attributes to them.

    创建constructordestructor函数,则需要声明函数然后两个函数应用constructor和destructor函数属性

    youdao

  • The constructor function is invoked immediately prior to main being called; and the destructor function is called when your application exits.

    constructor 函数调用 main 函数之前调用的, destructor 函数则是在应用程序退出时调用的。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定