comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: [HELP] Why is 'Adjust' not called here ???
Date: 05 Feb 2002 11:16:51 -0500
Date: 2002-02-05T16:21:20+00:00	[thread overview]
Message-ID: <uofj3ucng.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: LnT78.1276$g87.413451421@newssvr12.news.prodigy.com

> "Didier Pieroux" <dpieroux@pi.be> wrote in message
> news:3C5FB880.6FD36A12@hotmail.com...
> > Hello,
> >
> > To make it short: why is 'Adjust' not called during initialization by a
> > aggregate ?

Because the RM says so :). Pat Rogers gave the RM references.

I believe the rationale is that you can only do initialization by
aggregate in the body of the package defining the type, so you are
assumed to know what you are doing, and should do the equivalent of
the Adjust processing while building the aggregate.

Hmm, what I said about "body of the package" is strictly true only for
limited controlled types. Still, if you have visibility so you can
build an aggregate, you are presumed to know what you are doing.

-- 
-- Stephe



  reply	other threads:[~2002-02-05 16:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-05 10:48 [HELP] Why is 'Adjust' not called here ??? Didier Pieroux
2002-02-05 16:03 ` Pat Rogers
2002-02-05 16:16   ` Stephen Leake [this message]
2002-02-05 17:07     ` Pat Rogers
2002-02-06 10:01       ` [Thanks] " Didier Pieroux
2002-02-14 20:05 ` [HELP] " Tucker Taft
replies disabled

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