Re: Abnormal objects - how they can become normal again?
- From: "Alex R. Mosteo" <devnull@xxxxxxxxxxxxxx>
- Date: Thu, 22 Dec 2005 11:50:37 +0100
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).
.
- Follow-Ups:
- Re: Abnormal objects - how they can become normal again?
- From: Robert A Duff
- Re: Abnormal objects - how they can become normal again?
- References:
- Abnormal objects - how they can become normal again?
- From: Maciej Sobczak
- Re: Abnormal objects - how they can become normal again?
- From: Robert A Duff
- Abnormal objects - how they can become normal again?
- Prev by Date: GtkAda 2.4
- Next by Date: Re: Abnormal objects - how they can become normal again?
- Previous by thread: Re: Abnormal objects - how they can become normal again?
- Next by thread: Re: Abnormal objects - how they can become normal again?
- Index(es):