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,b99897135d6631cc X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: memory management and productivity Date: Tue, 22 Jun 2004 08:47:41 +0100 Organization: BAE SYSTEMS Message-ID: <40d7e2e4$1_1@baen1673807.greenlnk.net> References: <40d15023$1_1@baen1673807.greenlnk.net> <2jnh22F12nvieU2@uni-berlin.de> <40d694da$1_1@baen1673807.greenlnk.net> X-Trace: news.uni-berlin.de ho1yeTYH6ctb4ea1WUeS3AegWUSM1lORroWJ04486EqYD5DIVB X-Orig-Path: baen1673807.greenlnk.net!baen1673807!not-for-mail X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: baen1673807.greenlnk.net Xref: g2news1.google.com comp.lang.ada:1764 Date: 2004-06-22T08:47:41+01:00 List-Id: "Brian May" wrote in message news:sa4vfhkfshy.fsf@snoopy.apana.org.au... > I think the finalize routine doesn't get called because the variable > drops out of scope, it only gets finalized when the program exits. > > So you can't rely on this behavior unless your program was going to > exit anyway. You're absolutely right - but this is still different from C++ just not as different as I'd thought. Cheers -- Martin