comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: class wide object in generic package
Date: 13 Jun 2002 10:07:06 -0400
Date: 2002-06-13T14:14:24+00:00	[thread overview]
Message-ID: <u7kl3w9v9.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: wccelfcos6x.fsf@shell01.TheWorld.com

Robert A Duff <bobduff@shell01.TheWorld.com> writes:

> Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> writes:
> > Yes, it will have an Eval operation, but that operation will _not_ be
> > visible in the generic body.
> 
> That's not correct.  My_Evaluable inherits a primitive Eval from
> Evalable_Pak.Evalable, and this may be called in the generic body.
> In the instance, it will call the Eval for the actual type.

Sigh. I stand corrected. I should have followed my own advice and
written a small example program. Oh well ...

-- 
-- Stephe



  reply	other threads:[~2002-06-13 14:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-10  7:38 class wide object in generic package Thomas Maier-Komor
2002-06-10 12:28 ` Craig Carey
2002-06-10 13:14   ` Thomas Maier-Komor
2002-06-10 13:00 ` Stephen Leake
2002-06-10 13:25   ` Thomas Maier-Komor
2002-06-11 20:57   ` Ehud Lamm
2002-06-12 17:33     ` Stephen Leake
2002-06-13  1:58       ` Robert A Duff
2002-06-13 14:07         ` Stephen Leake [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-10 11:07 Grein, Christoph
replies disabled

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