From: dmitry6243@my-deja.com
Subject: Re: Common ancestor (visibility rules)
Date: 2000/03/31
Date: 2000-03-31T00:00:00+00:00 [thread overview]
Message-ID: <8c1qsl$6jh$1@nnrp1.deja.com> (raw)
In-Reply-To: 38E3B8B8.55305DCB@averstar.com
In article <38E3B8B8.55305DCB@averstar.com>,
Tucker Taft <stt@averstar.com> wrote:
> In any case, the basic rule is that *all* names used in a context
> clause must be "full" expanded names, but *omitting* the
> "Standard." part. No hiding can happen, since only full names
> are allowed, all of which start at the same point in the name space
> (immediately within package Standard). In fact, "with Standard.A;"
would
> be interpreted as requesting that the library unit whose
> name-from-the-very-root is Standard.Standard.A be made visible.
>
> Once you get inside a compilation unit, the rules are different,
> and full expanded names are not required, though they may be
> used to overcome name hiding. And names-from-the-very-root (i.e.
> those that start with Standard) may also be used. But as mentioned
> above, such names may *not* be used in context clauses.
Thank you. It is crystal clear now. A bit confusing that in different
places one should use different names, but I understand the drawbacks of
the alternative of obligatory specifying the "Standard." prefix in WITH
and USE.
> There is a publically available ALRM on various web sites, including:
>
> http://www.adaic.org/standards/ada95.html
Just downloaded it (:-)) Thanks a lot.
Regards,
Dmitry Kazakov
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-03-31 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-28 0:00 Common ancestor (visibility rules) dmitry6243
2000-03-28 0:00 ` Robert Dewar
2000-03-29 0:00 ` dmitry6243
2000-03-29 0:00 ` Robert Dewar
2000-03-29 0:00 ` dmitry6243
2000-03-30 0:00 ` Robert Dewar
2000-03-30 0:00 ` dmitry6243
2000-03-30 0:00 ` Tucker Taft
2000-03-31 0:00 ` dmitry6243 [this message]
2000-04-01 0:00 ` Robert Dewar
2000-04-01 0:00 ` Robert Dewar
2000-03-28 0:00 ` Steve Folly
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox