comp.lang.ada
 help / color / mirror / Atom feed
From: bill <bill@newsguy.com>
Subject: Re: What's class?
Date: 1999/02/23
Date: 1999-02-23T00:00:00+00:00	[thread overview]
Message-ID: <7avvpf$pfl@drn.newsguy.com> (raw)
In-Reply-To: m3k8x8fovj.fsf@mheaney.ni.net

In article <m3k8x8fovj.fsf@mheaney.ni.net>, Matthew says...
>
 
>But if I see this:
>
>  function Is_Full (Stack : in Bounded_Stack) return Boolean;
>
>then I know that Is_Full is only intended to take an object of
>(specific) type Bounded_Stack.  A stack that derives from Bounded_Stack
>would indeed inherit operation Is_Full.
>
 
Since any type that extends a parent type, also inherits its operations,
then in this case, writing

         function is_full( stack: in bounded_stack'class) 
and
         function is_full( stack: in bounded_stack)


make no difference!

correct?

Bill.




  reply	other threads:[~1999-02-23  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-23  0:00 What's class? Rouault
1999-02-23  0:00 ` David Botton
1999-02-24  0:00 ` Matthew Heaney
1999-02-23  0:00   ` bill [this message]
1999-02-24  0:00     ` Ed Falis
1999-02-25  0:00       ` dennison
1999-02-24  0:00     ` Jean-Pierre Rosen
1999-02-25  0:00     ` Matthew Heaney
1999-02-25  0:00 ` Gyeongmoon Ryu
1999-02-24  0:00   ` Matthew Heaney
replies disabled

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