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: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng User-Agent: 40tude_Dialog/2.0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <1110329098.642196@athnrd02> <1110361741.551255@athnrd02> <422edaec$0$26554$9b4e6d93@newsread4.arcor-online.net> <1111464133.508323@athnrd02> <1111508368.393411.6450@z14g2000cwz.googlegroups.com> <1111522653.164049@athnrd02> <9Gi0e.815$FN4.52@newssvr21.news.prodigy.com> <3aenojF67lvh9U1@individual.net> Date: Thu, 24 Mar 2005 08:24:04 +0100 Message-ID: <17pf8xamnsp94.1h7dd9rynjmpo$.dlg@40tude.net> NNTP-Posting-Date: 24 Mar 2005 08:24:00 MET NNTP-Posting-Host: d3c44fde.newsread4.arcor-online.net X-Trace: DXC=Q>;4BGF5>35GKQ1;SL\gZ1:ejgIfPPld4jW\KbG]kaM8ea\9g\;7Nm5LjGF=S\KbW9[6LHn;2LCV>COgUkn_?_Y?[NIWR>=fLj2 X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:9893 comp.lang.c++:47011 comp.realtime:1673 comp.software-eng:5278 Date: 2005-03-24T08:24:00+01:00 List-Id: On Wed, 23 Mar 2005 21:42:58 -0500, Wes Groleau wrote: > adaworks@sbcglobal.net wrote: >> There are lots of good uses for multiple inheritance. However, >> there are also lots of dangers in it. Ada correctly comes down >> on the side of safety, but I do sometimes wish it were available. > > One thing I've never quite understood is the argument of ambiguity. > Ada allows other things that have a potential of ambiguity. The > solution there is that when something _actually_ has two meanings > (as opposed to _potentially_) then you get neither. Of course it not an argument. A real argument I think is view conversions, they would be impossible to do without a distributed overhead (as it takes place in C++.) I think that MI from concrete types should be allowed, later when Ada will have "tagged" by-value types without tags carved on the object. For those one could allow full MI, for others only multiple interfaces but single implementation inheritance (as in Ada 2005.) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de