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!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: memory management and productivity Date: Mon, 21 Jun 2004 10:07:43 +0100 Organization: BAE SYSTEMS Message-ID: <40d6a424$1_1@baen1673807.greenlnk.net> References: <40d15023$1_1@baen1673807.greenlnk.net> <2jnh22F12nvieU2@uni-berlin.de> <40d694da$1_1@baen1673807.greenlnk.net> <2jnk5nF12uei1U1@uni-berlin.de> X-Trace: news.uni-berlin.de euIOYy2m1b48tWUPIlFKCQqLcPuJRUYZjTiVS4xpKulQj/X2l4 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:1734 Date: 2004-06-21T10:07:43+01:00 List-Id: "Jano" wrote in message news:2jnk5nF12uei1U1@uni-berlin.de... > > Not quite true! Try this... > > I get this: > > Initialize -- Initialize B > Finalize -- Finalize temporary (in ObjectAda you only get one of these... > Finalize -- Finalize temporary ...two temporaries on assignment) > Wibble > Finalize -- Finalize C > Finalize -- Finalize B Not you don't get a call to Initialize on an assignment to an "access constant" as you have to assign a value anyway. Cheers -- Martin