From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2ce943dcc1eb3f9c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Sun, 09 Jul 2006 16:57:52 +0200 From: Georg Bauhaus Organization: elsewhere User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How to properly clean up an extended, generic structure? References: <44b107b7$0$3629$4d3efbfe@news.sover.net> In-Reply-To: <44b107b7$0$3629$4d3efbfe@news.sover.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <44b11920$0$26271$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Date: 09 Jul 2006 16:56:32 MEST NNTP-Posting-Host: 70f311e2.newsread2.arcor-online.net X-Trace: DXC=NVHe5c6O1 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:5578 Date: 2006-07-09T16:56:32+02:00 List-Id: 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