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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1592759aa83d0d45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-30 07:02:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!news-mue1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: MI in Ada 200X Date: Fri, 30 May 2003 14:02:00 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <0Pxza.699607$OV.652508@rwcrnsc54> <4a4de33a.0305280557.5d5aba37@posting.google.com> <1054299592.913465@master.nyc.kbcfp.com> NNTP-Posting-Host: d2-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1054303320 4138 134.91.1.15 (30 May 2003 14:02:00 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 30 May 2003 14:02:00 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/831)) Xref: archiver1.google.com comp.lang.ada:38095 Date: 2003-05-30T14:02:00+00:00 List-Id: Hyman Rosen wrote: : Karel Miklav wrote: : > What do you think about the diamond problem and other evils of MI? : : What diamond problem? Parhaps class A { public: virtual int foo() = 0; }; class A1 : public A { public: virtual int foo(); }; // from library 1 class A2 : public A { public: virtual int foo(); }; // from library 2 class B : public A1, A2 { public: virtual int bar(); }; int B::bar() { foo(); } // which foo() here? -- Georg