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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56131a5c3acc678e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-03 03:22:38 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!tar-atanamir.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Question about OO programming in Ada Date: Wed, 03 Dec 2003 12:26:33 +0100 Message-ID: References: <8urxb.19482$sb4.18182@newsread2.news.pas.earthlink.net> <1792884.HtYz4Yv8lY@linux1.krischik.com> NNTP-Posting-Host: tar-atanamir.cbb-automation.de (212.79.194.116) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1070450557 70989785 212.79.194.116 ([77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:3091 Date: 2003-12-03T12:26:33+01:00 List-Id: On 03 Dec 2003 10:29:17 +0100, Pascal Obry wrote: > >Dmitry A. Kazakov writes: > >> All controlled objects allocated by the allocator new, being not >> explicity destroyed using Unchecked_Deallocation, will be destroyed >> upon finalization of the access type. > >There is no magic done by Finalize here! Finalize gives a chance to the >component implementer to do the memory deallocation for the end user. That's >all. Yes, you are right. Controlled objects will be finalized, but the memory might be not reclaimed. At least, it seems that ARM does not require that. -- Regards, Dmitry Kazakov http://www.dmitry-kazakov.de