comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Definition of "aliased"
Date: 1998/10/26
Date: 1998-10-26T00:00:00+00:00	[thread overview]
Message-ID: <m3zpaj621f.fsf@mheaney.ni.net> (raw)
In-Reply-To: 7127j9$h36$1@nnrp1.dejanews.com

dennison@telepath.com writes:

> In article <m37lxo6pii.fsf@mheaney.ni.net>,
>   Matthew Heaney <matthew_heaney@acm.org> wrote:
> 
> > package P is
> >    type T is tagged limited private;
> > private
> >    function Op (O : access T) return Integer;
> >    type T is
> >       tagged limited record
> >          I : Integer := Op (T'Access);
> Hmmm. Doesn't this -----------^ have to be an object or
> subprogram? It appears to be a type.

It _is_ an object.  Used this way, T'Access denotes the "current
instance."






  reply	other threads:[~1998-10-26  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  0:00 Definition of "aliased" Matthew Heaney
1998-10-26  0:00 ` dennison
1998-10-26  0:00   ` Matthew Heaney [this message]
1998-10-27  0:00     ` dennison
1998-10-28  0:00       ` Robert I. Eachus
1998-10-26  0:00 ` 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