comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Abnormal objects - how they can become normal again?
Date: Thu, 22 Dec 2005 11:50:37 +0100
Date: 2005-12-22T11:50:37+01:00	[thread overview]
Message-ID: <43AA84FD.7050601@mailinator.com> (raw)
In-Reply-To: <wccslsmw2a8.fsf@shell01.TheWorld.com>

Robert A Duff wrote:
> (snip)
> 
> Another way to deal with abnormal (possibly controlled) objects is to
> add a level of indirection.  I believe you can Unchecked_Deallocate an
> abnormal object (not sure).  Assignment of access values does not
> involve finalization.  So when you have a possibly-abnormal object, you
> could simply throw it away and create a new one.

I guess you can indeed free abnormal controlled objects, but this will 
trigger finalization, and I think the OP wanted to avoid this (as this 
happens too when overwriting the abnormal object during asignation).



  reply	other threads:[~2005-12-22 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-21 13:01 Abnormal objects - how they can become normal again? Maciej Sobczak
2005-12-21 21:47 ` Robert A Duff
2005-12-22 10:50   ` Alex R. Mosteo [this message]
2005-12-22 15:57     ` Robert A Duff
replies disabled

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