comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: How to properly clean up an extended, generic structure?
Date: Sun, 09 Jul 2006 16:57:52 +0200
Date: 2006-07-09T16:56:32+02:00	[thread overview]
Message-ID: <44b11920$0$26271$9b4e6d93@newsread2.arcor-online.net> (raw)
In-Reply-To: <44b107b7$0$3629$4d3efbfe@news.sover.net>

Peter C. Chapin wrote:

> It occurs to 
> me, though, that Item_Type might have its own clean up needs. I assume 
> that Unchecked_Deallocation knows nothing about that.

According to LRM 7.6.1(10), an instance of Unchecked_Deallocation
will trigger finalization of the object before its storage is reclaimed.

Perhaps you could consider the interactions of nested scopes with
finalization of objects declared in these scopes?


-- Georg



  parent reply	other threads:[~2006-07-09 14:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09 13:42 How to properly clean up an extended, generic structure? Peter C. Chapin
2006-07-09 14:29 ` jimmaureenrogers
2006-07-09 14:33 ` Ludovic Brenta
2006-07-09 16:21   ` Peter C. Chapin
2006-07-09 14:49 ` Björn Persson
2006-07-09 14:57 ` Georg Bauhaus [this message]
2006-07-09 19:46 ` Jeffrey R. Carter
2006-07-10  7:38   ` Jean-Pierre Rosen
replies disabled

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