comp.lang.ada
 help / color / mirror / Atom feed
From: hyrosen@mail.com (Hyman Rosen)
Subject: Re: Should MI be supported (was:  Can MI be supported?)
Date: 17 Sep 2003 11:16:00 -0700
Date: 2003-09-17T18:16:01+00:00	[thread overview]
Message-ID: <568ede3c.0309171016.6a713736@posting.google.com> (raw)
In-Reply-To: uu17c5bkr.fsf@earthlink.net

Matthew Heaney <matthewjheaney@earthlink.net> wrote in message news:<uu17c5bkr.fsf@earthlink.net>...
> Hyman: Is there a way to do that in C++?  Can you publicly inhterit from
> ColorableType and privately inherit from ColorableAdapterType?

Yes. I could have said

struct MyObject : private ColorableAdapter, private ResizableAdapter,
                  public virtual Colorable, public virtual Resizable
{ };

The interface methods all have a "unique final overrider" (in the
language of the C++ standard) so there is no ambiguity.



  reply	other threads:[~2003-09-17 18:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 11:57 Should MI be supported (was: Can MI be supported?) Lionel.DRAGHI
2003-09-17  3:36 ` Matthew Heaney
2003-09-17 18:16   ` Hyman Rosen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-18  8:25 Lionel.DRAGHI
2003-09-16  8:16 Lionel.DRAGHI
2003-09-16 11:02 ` Matthew Heaney
2003-09-17  3:12   ` Robert I. Eachus
2003-09-17  3:25     ` Matthew Heaney
2003-09-17 10:36     ` Lutz Donnerhacke
2003-09-23  8:44       ` Robert I. Eachus
2003-09-15 17:15 Lionel.DRAGHI
2003-09-15 23:26 ` Matthew Heaney
2003-09-16 16:23 ` Mário Amado Alves
replies disabled

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