From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,765548fafec25b6c X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: Re: Help - trying to understand dynamic dispatching Date: 1999/04/09 Message-ID: #1/1 X-Deja-AN: 464253356 References: <923610308.5473.0.nnrp-09.c2de848f@news.demon.co.uk> NNTP-Posting-Date: Thu, 08 Apr 1999 18:11:19 PDT Newsgroups: comp.lang.ada Date: 1999-04-09T00:00:00+00:00 List-Id: "Steve Folly" 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). You can subscribe to the patterns list by sending the message body subscribe patterns to the ACM mailing list server. 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. Matt