中英
构造函数析构函数
  • 翻译

Constructor destructor

以上为机器翻译结果,快速获取精准的人工翻译结果,建议选择有道人工翻译

  • 网络释义
短语
  • 双语例句
  • 1
    换一种说法就是永远都不要为那些其构造函数函数可能抛出异常的类定义全局(静态全局)实例。
    The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.
  • 2
    对象池接口——有对象意识的接口,在对象创建和删除过程中分别相应地调用构造函数函数。
    Object pool interface — an object-aware interface that calls the constructor and destructors appropriately during object creation and deletion, respectively.
  • 3
    队列类的构造函数函数负责创建和销毁互斥锁,见清单1。
    The constructor and destructor of the queue class are responsible for the creation and destruction of the mutex, as shown in Listing 1.
查看更多