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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,17894b356437d04f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-21 09:35:38 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!zombie.ncsc.mil!news.mathworks.com!news2.near.net!news3.near.net!noc.near.net!inmet!henning!stt From: stt@henning.camb.inmet.com (Tucker Taft) Subject: Re: Question regarding LRM 5.95 7.6(19) Message-ID: Sender: news@inmet.camb.inmet.com Organization: Intermetrics, Inc. References: <3fjodr$99j@gamma.ois.com> <3fn115$66n@lang8.cs.nyu.edu> Date: Sat, 21 Jan 1995 17:35:38 GMT Date: 1995-01-21T17:35:38+00:00 List-Id: In article <3fn115$66n@lang8.cs.nyu.edu>, Cyrille Comar wrote: >... As a matter of fact, in the >non-limited case: > > My_Ctrl_Obj : My_Ctrl_Type := (Controlled with ....); > >will not generate a call to Initialize not Adjust (or if it does, in >case an anonymous object is generated, then the anon must be finalized >do there is still one more finalization) > >I must say that I have been very surprized to find out that a >controlled object could be neither initialized nor adjusted... Initialize is for default initialization. An aggregate is for explicit initialization. If you use an aggregate to initialize a controlled object, you must give the exact value you want in memory (e.g., reference count initialized to one, or whatever). >Cyrille Comar, E-mail: comar@cs.nyu.edu >Gnat Project US phone: (212) 998-3489 -Tucker Taft stt@inmet.com Intermetrics, Inc.