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,104df2b9b7a2f689 X-Google-Attributes: gid103376,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: Interfaces Newsgroups: comp.lang.ada 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: <8764xj9wzf.fsf@deneb.enyo.de> <877jhz0y52.fsf@deneb.enyo.de> <87sm0mcjbx.fsf@deneb.enyo.de> <1rfnp5x3lxi3n$.mvahuo5ag68a$.dlg@40tude.net> <87u0l26rww.fsf@deneb.enyo.de> Date: Tue, 17 May 2005 13:13:23 +0200 Message-ID: NNTP-Posting-Date: 17 May 2005 13:13:22 MEST NNTP-Posting-Host: 82b74b98.newsread4.arcor-online.net X-Trace: DXC=?kQY6bmW]^PghFd\k@b23T:ejgIfPPldTjW\KbG]kaMXZmYl>WOG@=U]W7P8[[k<1Q[6LHn;2LCV^7enW;^6ZC`T<=9bOTW=MN^ X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:11065 Date: 2005-05-17T13:13:22+02:00 List-Id: On Tue, 17 May 2005 12:57:51 +0200, Florian Weimer wrote: > * Dmitry A. Kazakov: > >>>> That alone would not help much. Consider you have overridden J1.Foo and >>>> J2.Foo using different implementations, then which one will be called on >>>> Foo (X)? >>> >>> How would this be possible in the single-inheritance-with-interfaces >>> model? >> >> There cannot be any feasible single inheritance / multiple interface model. >> Any inheritance is either single or multiple. Implementation vs. interface >> inheritance is an orthogonal issue. > > That's why I don't understand your question. The condition is always > false, isn't it? Not in every context! In the context of a class-wide method of J1 it is unambiguous. Or else, consider T that implements J1 publicly and J2 privately. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de