What does destructor mean?

Definitions for destructor
de·struc·tor

This dictionary definitions page includes all the possible meanings, example usage and translations of the word destructor.


Did you actually mean data structure?

GCIDE

  1. Destructornoun

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

Wiktionary

  1. destructornoun

    One who destructs.

  2. destructornoun

    In object-oriented programming, the command sequence that is launched when the execution of an object is finished.

Samuel Johnson's Dictionary

  1. Destructornoun

    Destroyer; consumer.

    Etymology: from destroy.

    Helmont wittily calls the fire the destructor and the artificial death of things. Boyle.

Webster Dictionary

  1. Destructornoun

    a destroyer

  2. Etymology: [L., from destruere. See Destroy, and cf. Destroyer.]

Wikidata

  1. Destructor

    In object-oriented programming, a destructor is a method which is automatically invoked when the object is destroyed. It can happen when its lifetime is bound to scope and the execution leaves the scope, when it is embedded into another object whose lifetime ends, or when it was allocated dynamically and is released explicitly. Its main purpose is to free the resources which were acquired by the object along its life cycle and/or deregister from other entities which may keep references to it. The use of destructors is a necessity to the concept of Resource Acquisition Is Initialization. In a language with an automatic garbage collection mechanism, it would be difficult to deterministically ensure the invocation of a destructor, and hence these languages are generally considered unsuitable for RAII. In such languages, unlinking an object from existing resources must be done by an explicit call of an appropriate function. This method is also recommended for freeing resources rather than using finalizers for that.

How to pronounce destructor?

How to say destructor in sign language?

Numerology

  1. Chaldean Numerology

    The numerical value of destructor in Chaldean Numerology is: 4

  2. Pythagorean Numerology

    The numerical value of destructor in Pythagorean Numerology is: 8

Popularity rank by frequency of use

destructor#10000#33514#100000

Translations for destructor

From our Multilingual Translation Dictionary

Get even more translations for destructor »

Translation

Find a translation for the destructor definition in other languages:

Select another language:

  • - Select -
  • 简体中文 (Chinese - Simplified)
  • 繁體中文 (Chinese - Traditional)
  • Español (Spanish)
  • Esperanto (Esperanto)
  • 日本語 (Japanese)
  • Português (Portuguese)
  • Deutsch (German)
  • العربية (Arabic)
  • Français (French)
  • Русский (Russian)
  • ಕನ್ನಡ (Kannada)
  • 한국어 (Korean)
  • עברית (Hebrew)
  • Gaeilge (Irish)
  • Українська (Ukrainian)
  • اردو (Urdu)
  • Magyar (Hungarian)
  • मानक हिन्दी (Hindi)
  • Indonesia (Indonesian)
  • Italiano (Italian)
  • தமிழ் (Tamil)
  • Türkçe (Turkish)
  • తెలుగు (Telugu)
  • ภาษาไทย (Thai)
  • Tiếng Việt (Vietnamese)
  • Čeština (Czech)
  • Polski (Polish)
  • Bahasa Indonesia (Indonesian)
  • Românește (Romanian)
  • Nederlands (Dutch)
  • Ελληνικά (Greek)
  • Latinum (Latin)
  • Svenska (Swedish)
  • Dansk (Danish)
  • Suomi (Finnish)
  • فارسی (Persian)
  • ייִדיש (Yiddish)
  • հայերեն (Armenian)
  • Norsk (Norwegian)
  • English (English)

Word of the Day

Would you like us to send you a FREE new word definition delivered to your inbox daily?

Please enter your email address:


Citation

Use the citation below to add this definition to your bibliography:

Style:MLAChicagoAPA

"destructor." Definitions.net. STANDS4 LLC, 2024. Web. 24 Apr. 2024. <https://www.definitions.net/definition/destructor>.

Discuss these destructor definitions with the community:

0 Comments

    Are we missing a good definition for destructor? Don't keep it to yourself...

    Free, no signup required:

    Add to Chrome

    Get instant definitions for any word that hits you anywhere on the web!

    Free, no signup required:

    Add to Firefox

    Get instant definitions for any word that hits you anywhere on the web!

    Browse Definitions.net

    Quiz

    Are you a words master?

    »
    easily diffused or spread as from one person to another
    A foreordained
    B contagious
    C contiguous
    D eminent

    Nearby & related entries:

    Alternative searches for destructor: