comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Question regarding LRM 5.95 7.6(19)
Date: Sat, 21 Jan 1995 17:35:38 GMT
Date: 1995-01-21T17:35:38+00:00	[thread overview]
Message-ID: <D2rnJF.BIw@inmet.camb.inmet.com> (raw)
In-Reply-To: 3fn115$66n@lang8.cs.nyu.edu

In article <3fn115$66n@lang8.cs.nyu.edu>,
Cyrille Comar <comar@cs.nyu.edu> 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.



  reply	other threads:[~1995-01-21 17:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <leschkes.790279202@ferret>
     [not found] ` <3fgik5$1fn0@watnews1.watson.ibm.com>
1995-01-18 18:59   ` Question regarding LRM 5.95 7.6(19) R. William Beckwith
1995-01-20  0:44     ` Cyrille Comar
1995-01-21 17:35       ` Tucker Taft [this message]
1995-01-23 10:45         ` Robb Nebbe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox