comp.lang.ada
 help / color / mirror / Atom feed
From: Jeff Carter <spam.carter.not@spam.innocon.com>
Subject: Re: Destructor question
Date: 1998/12/03
Date: 1998-12-03T00:00:00+00:00	[thread overview]
Message-ID: <3666BACC.99E6BB06@spam.innocon.com> (raw)
In-Reply-To: 3665B85D.A2663591@nowhere.com

Rusnak wrote:
> 
> How are destrcutor methords properly implemented in Ada on tagged
> records?  I have the following setup:
> ...

Assuming

"destrcutor" should be "destructor"

and

"methords"   should be "methods"

then the answer to this question is that Ada does not have methods, much
less destructor methods. Ada has subprograms and entries.

This is a MicroStuff Support answer: technically correct but useless.
Here's a useful answer:

Your question seems to be about what Ada calls "finalization", which
refers to operations on objects of a type when the value of the object
becomes inaccessible (prior to assignment or when the object ceases to
exist). I refer you to the standard package Ada.Finalization for the
details of finalization in Ada (ARM 7.6).

-- 
Jeff Carter
E-mail: carter commercial-at innocon [period | full stop] com
"Perfidious English mouse-dropping hoarders."
Monty Python & the Holy Grail




  reply	other threads:[~1998-12-03  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-02  0:00 Destructor question Rusnak
1998-12-03  0:00 ` Jeff Carter [this message]
1998-12-03  0:00   ` Rusnak
1998-12-04  0:00     ` Robert I. Eachus
1998-12-06  0:00       ` Matthew Heaney
1998-12-08  0:00         ` Robert I. Eachus
1998-12-06  0:00     ` Matthew Heaney
1998-12-07  0:00     ` Jeff Carter
1998-12-06  0:00 ` david.c.hoos.sr
1998-12-06  0:00   ` Matthew Heaney
1998-12-08  0:00   ` Robert I. Eachus
1998-12-06  0:00 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox