• Managing exceptions in constructors and destructors

    管理构造函数和析构函数中的异常

    youdao

  • Thus, the assertions can be used safely in destructors, too.

    因此,也可以在析构函数中安全地使用断言。

    youdao

  • While wxWidgets is a powerful toolkit, not everybody wants to deal with C++ destructors, memory management, and all the rest.

    wxWidgets 确实是一种功能强大的工具包,但并不是所有人都愿意使用 C++析构函数、内存管理等等。

    youdao

  • Programming languages that support destructors or have a garbage collector may mitigate this problem by making a wrapper over the C interface.

    那些支持析构函数或垃圾收集器的语言通过在C接口上作一层封装有助于降低这个问题发生的概率。

    youdao

  • Object pool interface — an object-aware interface that calls the constructor and destructors appropriately during object creation and deletion, respectively.

    对象池接口——有对象意识的接口,在对象创建和删除过程中分别相应地调用构造函数和析构函数。

    youdao

  • Empty destructors should not be used.

    不应使用空析构函数。

    youdao

  • You should not use structured exception handling in functions that use objects with destructors.

    在使用具有析构函数的对象的函数中,不应使用结构化异常处理。

    youdao

  • An interface cannot contain constants, fields, operators, instance constructors, destructors, or types.

    接口不能包含常量、字段、运算符、实例构造函数、析构函数或类型。

    youdao

  • The constructors for the individual objects in the array are not invoked, although the destructors are.

    尽管调用了析构函数,但是未调用数组中各个对象的构造函数。

    youdao

  • Unlike destructors, it is often the case that something done inside a constructor might throw an exception.

    与析构函数不同,构造函数内部所做的事情经常会抛出异常。

    youdao

  • A class's members include all the members declared in the class, along with all members (except constructors and destructors) declared in all classes in its inheritance hierarchy.

    类的成员包括在类中声明的所有成员,以及在该类的继承层次结构中的所有类中声明的所有成员(构造函数和析构函数除外)。

    youdao

  • Destructors cannot be inherited or overloaded.

    无法继承或重载析构函数。

    youdao

  • Destructors are also called when the program exits.

    程序退出时也会调用析构函数。

    youdao

  • Destructors are often executed during stack unwinding.

    栈展开期间会经常执行析构函数。

    youdao

  • Classes. Constructors and Destructors. Pointers to classes.

    类,构造函数和析构函数,类的指针。

    youdao

  • "The Destructors" is a literary fiction because the unexpected ending was caused by the complex characters, and it makes readers think deeply about the human nature.

    《破坏者》是一篇由复杂的人物特性引发出人意料的结尾,从而给读者带来深刻的启发的文学类小说。

    youdao

  • Destructors cannot have parameters, they cannot have accessibility modifiers, and they cannot be invoked explicitly. The destructor for an instance is invoked automatically during garbage collection.

    析构函数不能有参数,不能有访问级别修饰符,不能被显式调用。实例的析构函数在垃圾收集时自动调用。

    youdao

  • Destructors cannot have parameters, they cannot have accessibility modifiers, and they cannot be invoked explicitly. The destructor for an instance is invoked automatically during garbage collection.

    析构函数不能有参数,不能有访问级别修饰符,不能被显式调用。实例的析构函数在垃圾收集时自动调用。

    youdao

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

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

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