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-Thread: 103376,20144c9b38aef82d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <43552495.2050300@obry.net> Date: Tue, 18 Oct 2005 18:36:37 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en MIME-Version: 1.0 Newsgroups: comp.lang.ada To: "Alex R. Mosteo" Subject: Re: About 0Y interfaces References: <4354EF40.9010906@mailinator.com> In-Reply-To: <4354EF40.9010906@mailinator.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit NNTP-Posting-Date: 18 Oct 2005 18:36:38 CEST NNTP-Posting-Host: 82.124.125.82 X-Trace: 1129653398 news.wanadoo.fr 979 82.124.125.82:3245 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:5774 Date: 2005-10-18T18:36:38+02:00 List-Id: Alex, > 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. Right. > Secondly, we can create an object type which implements two or more > interfaces. Right. > 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. There is no notion of interface implementation. Interfaces are inherited by a tagged object and implemented at this point. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595