comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve Folly" <steve@follysplace.demon.co.uk>
Subject: Re: Help - trying to understand dynamic dispatching
Date: 1999/04/11
Date: 1999-04-11T00:00:00+00:00	[thread overview]
Message-ID: <923843203.21683.0.nnrp-03.c2de848f@news.demon.co.uk> (raw)
In-Reply-To: 923610308.5473.0.nnrp-09.c2de848f@news.demon.co.uk

Thanks to all who replied for their suggestions of examples. I have looked
at these and now have a better
understanding of polymorphism.

I think my main problem was getting around the fact that in C++,
polymorphism is achieved through
virtual functions and using a pointer or reference to a base class. In
Ada95, polymorphism can be
achieved with normal (non-pointer) types. It is using the class wide type
that is crucial.

Thanks again.

Steve Folly <steve@follysplace.demon.co.uk> pleaded in message
news:923610308.5473.0.nnrp-09.c2de848f@news.demon.co.uk...
> Help! I've been trying to understand how dynamic dispatching works in
Ada95,
> <snipped>






      parent reply	other threads:[~1999-04-11  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-08  0:00 Help - trying to understand dynamic dispatching Steve Folly
1999-04-09  0:00 ` David C. Hoos, Sr.
1999-04-09  0:00 ` David Botton
1999-04-09  0:00 ` dennison
1999-04-09  0:00 ` Matthew Heaney
1999-04-11  0:00 ` Steve Folly [this message]
replies disabled

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