From: Pascal Obry <pascal@obry.net>
To: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: About 0Y interfaces
Date: Tue, 18 Oct 2005 18:36:37 +0200
Date: 2005-10-18T18:36:38+02:00 [thread overview]
Message-ID: <43552495.2050300@obry.net> (raw)
In-Reply-To: <4354EF40.9010906@mailinator.com>
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
next prev parent reply other threads:[~2005-10-18 16:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-18 12:49 About 0Y interfaces Alex R. Mosteo
2005-10-18 13:18 ` Dmitry A. Kazakov
2005-10-18 14:34 ` Alex R. Mosteo
2005-10-18 16:54 ` Dmitry A. Kazakov
2005-10-18 16:36 ` Pascal Obry [this message]
2005-10-18 22:01 ` Randy Brukardt
2005-10-19 9:08 ` Brian May
2005-10-19 21:51 ` Randy Brukardt
2005-10-20 6:44 ` Alex R. Mosteo
2005-10-19 9:11 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox