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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,20144c9b38aef82d,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: About 0Y interfaces Date: Tue, 18 Oct 2005 14:49:04 +0200 Message-ID: <4354EF40.9010906@mailinator.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net HDL/PX+/Q4Whmwt/gvU3UAASzPQ2yixlomDKe3/ihxmu6t+Sw= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en Xref: g2news1.google.com comp.lang.ada:5769 Date: 2005-10-18T14:49:04+02:00 List-Id: Hi, I hope someone can clarify some aspects of interfaces to me. I've read the description in several places but there are some things I'm not sure about. Firstly, interfaces are purely abstract, right? There's no way to provide a default/partial implementation except creating an object type which implements that interface. Secondly, we can create an object type which implements two or more interfaces. But I guess there's no multiple inheritance from classes, so you couldn't use two implementations of two different interfaces directly when creating a new type. Is this right? You'd need to use, for example, member objects and use proxy calls. I think I'm not forgetting anything. Thanks in advance, Alex.