comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Language lawyer question: Equality on 'Access attributes
Date: Fri, 9 Jan 2004 17:27:25 -0600
Date: 2004-01-09T17:27:25-06:00	[thread overview]
Message-ID: <vvue8p2km7909e@corp.supernews.com> (raw)
In-Reply-To: XridndndEa-m2mOiRVn-hQ@comcast.com

"Robert I. Eachus" <rieachus@comcast.net> wrote in message
news:XridndndEa-m2mOiRVn-hQ@comcast.com...
...
> The technical question is how many "=" operations could apply in this
> case.  My contention was that there are at least two, one associated
> with the 'Access attributes (actually I think there is one for each
> attribute) and one declared by the user.

Huh? There is nothing in the RM about types being declared by 'Access. The
only way to get an anonymous access type is via an access_definition, as in
a parameter. And anonymous access types don't even have their own "=", see
4.5.2(6) "...for every type T that is not limited, and is not an anonymous
access type."

Ada 200Y probably will change this slightly; we've spent a lot of ARG time
looking at this area because we want to expand the places that anonymous
access types can be used.

In any case, in the original example, there is only one "=", so Adam is
right. In Ada 200Y, as currently envisioned, I think that this would be
ambiguous (because the universal "=" would also be a possibility). But
that's in the future and could change.

                  Randy.






  reply	other threads:[~2004-01-09 23:27 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-08  2:05 Language lawyer question: Equality on 'Access attributes Adam Beneschan
2004-01-08  7:47 ` Robert I. Eachus
2004-01-08 11:07   ` Dmitry A. Kazakov
2004-01-08 17:18   ` Adam Beneschan
2004-01-08 18:04     ` Robert A Duff
2004-01-08 18:31       ` Ze Administrator
2004-01-08 21:04         ` Robert A Duff
2004-01-09  4:02           ` Ze Administrator
2004-01-09 23:02             ` Robert A Duff
2004-01-10  2:56               ` Ze Administrator
2004-01-09  4:06           ` Ze Administrator
2004-01-09 23:05             ` Robert A Duff
2004-01-10  3:03               ` Ze Administrator
2004-01-10 13:47                 ` Marin David Condic
2004-01-10  7:19               ` Robert I. Eachus
2004-01-10 19:09                 ` Robert A Duff
2004-01-11 14:27                   ` Robert I. Eachus
2004-01-11 21:42                     ` Ze Administrator
2004-01-12  5:16                       ` Robert I. Eachus
2004-01-09  1:28         ` Adam Beneschan
2004-01-09  4:10           ` Ze Administrator
2004-01-09 11:27             ` Dmitry A. Kazakov
2004-01-09 23:09               ` Robert A Duff
2004-01-10 11:56                 ` Dmitry A. Kazakov
2004-01-10 17:08                   ` Robert I. Eachus
2004-01-10 18:40                   ` Robert A Duff
2004-01-09 23:08             ` Robert A Duff
2004-01-10  7:39               ` Robert I. Eachus
2004-01-08 20:36       ` tmoran
2004-01-08 21:06         ` Robert A Duff
2004-01-09  0:27       ` Randy Brukardt
2004-01-09  1:23       ` Adam Beneschan
2004-01-09  1:38         ` Robert A Duff
2004-01-09  6:16       ` Robert I. Eachus
2004-01-09 23:27         ` Randy Brukardt [this message]
2004-01-10 16:37           ` Robert I. Eachus
     [not found] ` <hmfvc1-f73.ln1@beastie.ix.netcom.com>
     [not found]   ` <l7v1d1-n33.ln1@beastie.ix.netcom.com>
2004-01-09 23:19     ` Robert A Duff
2004-01-09 23:21     ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2004-01-09  5:48 christoph.grein
2004-01-09  6:03 christoph.grein
replies disabled

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