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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3ef3e78eacf6f938 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail From: Colin Paul Gloster Newsgroups: comp.lang.ada Subject: Re: A few Ada questions Date: Fri, 24 Jul 2009 15:26:05 +0000 Organization: A noiseless patient Spider Message-ID: References: <3nffbo4zt7kp$.5i3qwunv8h7g.dlg@40tude.net> Reply-To: Colin Paul Gloster Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.eternal-september.org U2FsdGVkX1/GEdlXGbf9fHgc0o6NYBrQeO2tKUbWgORcVbLByZneWK7KhwQVjlb+3gcBd1z2wk7eoru8Hlde5Ph4MCCyAvI1pDkiCOUPS3PE4g/S5FoO6rzxvHdFvdG3E/6Nywt+YClaCbLtxj1EpQ== X-Complaints-To: abuse@eternal-september.org NNTP-Posting-Date: Fri, 24 Jul 2009 14:25:29 +0000 (UTC) In-Reply-To: <3nffbo4zt7kp$.5i3qwunv8h7g.dlg@40tude.net> X-Auth-Sender: U2FsdGVkX18rrLwDxTjCcmJhr4zDUeKEQiW4ZpHhjNSXUlFIiOmO6lFVuVbp/WMhPgSP/tS1y/A= Cancel-Lock: sha1:o1Ld6CdRRTkMLPQqaJcD1jD5moI= X-X-Sender: Colin_Paul@Bluewhite64.example.net User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) Xref: g2news2.google.com comp.lang.ada:7321 Date: 2009-07-24T15:26:05+00:00 List-Id: On Fri, 24 Jul 2009, Dmitry A. Kazakov wrote: |---------------------------------------------------------------------------| |"[..] | | | |That won't work because Ada does not have multiple dispatch (MI). When you | |derive from the container and from the cursor then to have it polymorphic | |you need operations dispatching in both container and cursor. This is MI, | |which is absent, alas. | | | |[..]" | |---------------------------------------------------------------------------| The particular example give involves multiple inheritance, but in general I do not believe that multiple inheritance is needed for multiple dispatch (multimethods). Regards, Colin Paul