comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Definition of "aliased"
Date: 1998/10/27
Date: 1998-10-27T00:00:00+00:00	[thread overview]
Message-ID: <714ll9$ft8$1@nnrp1.dejanews.com> (raw)
In-Reply-To: m3zpaj621f.fsf@mheaney.ni.net

In article <m3zpaj621f.fsf@mheaney.ni.net>,
  Matthew Heaney <matthew_heaney@acm.org> wrote:
> 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."
>
>

Cool! I don't suppose that trick works for tasks as well? Being able to
display Task_Type'Storage_Size would sure be handy inside of a Storage_Error
exception handler...

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1998-10-27  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
1998-10-27  0:00     ` dennison [this message]
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