Find the word definition

Crossword clues for destructor

destructor
The Collaborative International Dictionary
Destructor

Destructor \De*struc"tor\, n. [L., from destruere. See Destroy, and cf. Destroyer.]

  1. A destroyer. [R.]

    Fire, the destructor and the artificial death of things.
    --Boyle.

  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.

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

Wiktionary
destructor

n. 1 One who destructs. 2 A furnace or oven for the burning or carbonize of refuse. 3 (context programming English) In object-oriented programming, the command sequence that is launched when the execution of an object is finished.

Wikipedia
Destructor

Destructor may refer to:

  • Destructor (computer programming), in object-oriented programming, a method which is automatically invoked when an object is destroyed
  • Euronymous (1968–1993), guitarist and co-founder of the Norwegian black metal band Mayhem
  • Spanish warship Destructor (1886), a fast ocean-going torpedo gunboat
  • Destructor, a Marvel Comics character; see Advanced Idea Mechanics
  • Destructor, a Futurama character
  • Cherax destructor, the scientific name for the Common Yabby
  • a municipal incinerator; the term destructor was used well into the 20th century.
Destructor (computer programming)

In object-oriented programming, a destructor (dtor) 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 in another object which lifetime ends, or when it was allocated dynamically and is released explicitly. Its main purpose is to free the resources (memory allocations, open files or sockets, database connections, resource locks, etc.) which were acquired by the object during its life and/or deregister from other entities which may keep references to it. Use of destructors is needed for the process of Resource Acquisition Is Initialization (RAII).

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 (usually called [[Dispose pattern|Dispose ]]). This method is also recommended for freeing resources, rather than using finalizers for that.

Usage examples of "destructor".

Melas Dorsa with extraordinary cunning and efficiency, first sending small units into the deserted station to reconnoiter and knock out com, then big destructors.

The following year, a particularly voracious destructor scale was done in by the coccinellid beetle.

They believed Lemuria and will be many destructors of mankind, of which the had been in the Indian Ocean.

Needless to say, the Daleks, currently hatching plans revolving around a time destructor and their army on the non-affiliated world of Kembel arise and take dominance over this entire galaxy.

The great destructor had for some time now been passing in a screaming curve, at thousands of kilometers per second, closer to Prairie, the planet it had already sterilized, than to Timber, the one where it had dropped its landers, and where the process of stamping out life had scarcely got underway as yet.