From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Help - trying to understand dynamic dispatching
Date: 1999/04/09
Date: 1999-04-09T00:00:00+00:00 [thread overview]
Message-ID: <m37lrm1tmy.fsf@mheaney.ni.net> (raw)
In-Reply-To: 923610308.5473.0.nnrp-09.c2de848f@news.demon.co.uk
"Steve Folly" <steve@follysplace.demon.co.uk> writes:
> 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.
>
> I'm not going to explain my problem here - my problem really is "how do you
> do it?".
> I'm more familiar with the C++ method of virtual functions.
>
> 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.
I have converted every C++ program in the GoF Design Patterns book to
Ada95. You can find them all in the ACM patterns archive (listed by
month of posting).
<http://www.acm.org/archives/patterns.html>
You can subscribe to the patterns list by sending the message body
subscribe patterns <your name>
to the ACM mailing list server.
<mailto:listserv@acm.org>
Some of the early ones I did when I was learning Ada95, so you may be
better of starting from the most recent and working your way backwards.
If you have any questions, just drop me a note, or send your question to
the patterns list.
<mailto:patterns@acm.org>
Matt
<mailto:matthew_heaney@acm.org>
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 [this message]
1999-04-09 0:00 ` dennison
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