英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

destructor    
n. 破坏者,爆炸装置,垃圾焚毁炉

破坏者,爆炸装置,垃圾焚毁炉

destructor
解除程式

Destructor \De*struc"tor\, n. [L., from destruere. See
{Destroy}, and cf. {Destroyer}.]
1. A destroyer. [R.]
[1913 Webster]

Fire, the destructor and the artificial death of
things. --Boyle.
[1913 Webster]

2. A furnace or oven for the burning or carbonizing of
refuse; specif. (Sewage Disposal), a furnace (called in
full

{refuse destructor}) in which the more solid constituents of
sewage are burnt. Destructors are often so constructed as
to utilize refuse as fuel.
[Webster 1913 Suppl.]

3. (Computers) in object-oriented programming, a function
which destroys an object which was previously created by a
different function.
[PJC]


请选择你想看的字典辞典:
单词字典翻译
Destructor查看 Destructor 在百度字典中的解释百度英翻中〔查看〕
Destructor查看 Destructor 在Google字典中的解释Google英翻中〔查看〕
Destructor查看 Destructor 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • c++ - When do we need to define destructors? - Stack Overflow
    When you need to do this, you must define the destructor to be virtual within the base class Otherwise, your derived destructors won't get called, independent of whether they are defined or not, and whether they are virtual or not
  • The difference between a destructor and delete - Stack Overflow
    A destructor is a special method for a class It is called whenever an object goes out of scope, or someone calls it explicitly An example where an objects destructor is called, but no delete: struct MyObject { MyObject() { std::cout << "default constructor"; } ~MyObject() { std::cout << "destructor"; } void doWork() {}; } int main() { { MyObject object; constructor is called and memory
  • C++ Constructor Destructor inheritance - Stack Overflow
    For trivial cases that destructor just calls the base class' destructor, and often that means that there is no explicit code for its destructor (which imitates inheritance) But if a class has members with destructors, the generated destructor calls destructors for those members before calling the base class' destructor
  • Do I need to explicitly call the base virtual destructor?
    When overriding a class in C++ (with a virtual destructor) I am implementing the destructor again as virtual on the inheriting class, but do I need to call the base destructor?
  • struct - In C++, how to write a destructor for freeing memory of . . .
    In C++, how to write a destructor for freeing memory of pointer to a structure? Asked 12 years, 3 months ago Modified 9 years, 11 months ago Viewed 60k times
  • c# - When should I create a destructor? - Stack Overflow
    A destructor is then essentially an assurance that if the consumer of your object forgets to dispose it, the resource still gets cleaned up eventually (Maybe ) If you make a destructor be extremely careful and understand how the garbage collector works Destructors are really weird: They don't run on your thread; they run on their own thread
  • The difference between a destructor and a finalizer?
    I believe 'destructor' is the C# code, and the 'finalizer' is the compiled CIL method The C# compiler turns a destructor into a finalizer EDIT: To be more verbose; The C# language specification defines a 'destructor' as a C# instance method on a class 'destructor', then, is part of the C# grammar -- destructors are a linguistic object appearing in source code A destructor is a member that
  • destructor - Confusing with delete and free function in C++ - Stack . . .
    The destructor is more obscure as it is used to release resources that were created in the constructor In your case the constructor allocates memory and the destructor deallocates the memory
  • When to make a destructor defaulted using =default?
    Although using =default for constructors is clear for me (i e forcing the compiler to create the default constructor while other ctors exist), I still cannot understand the difference between thes





中文字典-英文字典  2005-2009