destructor Hear it!

destructor Definition

de·struc·tor (di struktər)

noun

  1. Brit. an incinerator for rubbish
  2. ☆ an explosive device for bringing about a destruct

Etymology: LL < destructus: see destruction

destructor Usage Examples

Converse of object

  • call: Any excess ozone not absorbed into the water is destroyed by a machine called a destructor.
  • have: Java has no destructor or similar concept, so you must create an ordinary method to perform this cleanup.
  • use: If we wished to use these destructors, how could we implement them?
  • define: If the element type defines a destructor, the destructor is called on the element being removed.
  • make: Item 14: Make destructors virtual in base classes.

Preposition: on

element: Calls the destructor on all elements of self and replaces them by copying all elements of s.

Adjective modifier

  • virtual: I am getting an odd linker error to so with virtual destructors and I'm not sure what the problem could be.
  • associated: Here's an example that demonstrates that constructors that aren't completed don't have the associated destructors called.
  • base-class: Then when the " letter " base-class destructor is called, you get delete 0, which by definition does nothing.
  • s: Normally, you might say that it's a virtual call, so Square ' s destructor will be called.

Modifies a noun

  • function: The desc argument can be used to pass extra callback data for the destructor function.
  • call: The class X uses both inheritance and composition to create a class that has an interesting order of constructor and destructor calls.
  • procedure: To allow the Intrinsics to deallocate resources produced by type converters, a resource destructor procedure may also be provided.
  • operation: Destructor operation The activities of destruction in this scheme are also tricky.

Noun used with modifier

  • refuse: A refuse destructor which had also been installed provided heat to generate steam for the machinery.
  • dust: Being taken to the " dust destructor " by a Scammell Scarab three wheeled ' mechanical horse ' .
  • object: On most other systems, they are killed without executing try... finally clauses or executing object destructors.
  • resource: To allow the Intrinsics to deallocate resources produced by type converters, a resource destructor procedure may also be provided.

Preposition: in

hierarchy: With a destructor, however, all destructors in the hierarchy must be called.

Preposition: for

object: The destructors for such objects pop the context off the context stack immediately.