comp.lang.ada
 help / color / mirror / Atom feed
* About 0Y interfaces
@ 2005-10-18 12:49 Alex R. Mosteo
  2005-10-18 13:18 ` Dmitry A. Kazakov
  2005-10-18 16:36 ` Pascal Obry
  0 siblings, 2 replies; 10+ messages in thread
From: Alex R. Mosteo @ 2005-10-18 12:49 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-10-20  6:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox