From: dennison@telepath.com
Subject: Re: Help - trying to understand dynamic dispatching
Date: 1999/04/09
Date: 1999-04-09T00:00:00+00:00 [thread overview]
Message-ID: <7el5jj$kum$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 923610308.5473.0.nnrp-09.c2de848f@news.demon.co.uk
In article <923610308.5473.0.nnrp-09.c2de848f@news.demon.co.uk>,
"Steve Folly" <steve@follysplace.demon.co.uk> wrote:
> Help! I've been trying to understand how dynamic dispatching works in Ada95,
> particularly the syntax required - ie. when and where you need the class
> wide types.
>
> Unless someone wants to explain and perhaps give a concrete example in C++
> and it's equivalent Ada95 :-), a helpful push in the direction of a book,
> paper or website describing such a beast would be most appreciated.
Cohen's "Ada as a Second Language" (ISBN 0070116075) goes into this in some
detail. I really didn't understand too well until I played with it myself
though. It is correct that class wide types have to be involved either as a
formal or actual parameter for dynamic dispatching to occur.
...unless there's some wrinkle I've missed.
T.E.D.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1999-04-09 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 ` Matthew Heaney
1999-04-09 0:00 ` dennison [this message]
1999-04-09 0:00 ` David C. Hoos, Sr.
1999-04-09 0:00 ` David Botton
1999-04-11 0:00 ` Steve Folly
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox