comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: interfaces and limited/controlled/limited-controlled types
Date: Sat, 27 Jan 2018 10:28:23 -0800 (PST)
Date: 2018-01-27T10:28:23-08:00	[thread overview]
Message-ID: <79b4f018-889d-4948-b2d6-ba5506e1ce9c@googlegroups.com> (raw)
In-Reply-To: <p4i2ti$nqp$1@gioia.aioe.org>

On Saturday, January 27, 2018 at 9:38:46 AM UTC-5, Dmitry A. Kazakov wrote:
> On 2018-01-27 15:04, Jere wrote:
> 
> > I didn't see this in the discussion referenced, but how hard is it for the
> > compiler to detect that a specific language defined interface is used
> > and have it do a mixin for the needed components.
> 
> Which is called "multiple inheritance", implementation of (:-))
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

While you can get some of the effect of MI that way, it is a single
inheritance tree, so not quite the same as MI.  You don't run into
the diamond problem for one.

  reply	other threads:[~2018-01-27 18:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 16:21 interfaces and limited/controlled/limited-controlled types Mehdi Saada
2018-01-25 22:00 ` Robert Eachus
2018-01-26  4:58 ` Randy Brukardt
2018-01-26  8:28   ` Dmitry A. Kazakov
2018-01-26 11:17     ` Alejandro R. Mosteo
2018-01-27  7:12       ` Randy Brukardt
2018-01-27 14:04         ` Jere
2018-01-27 14:38           ` Dmitry A. Kazakov
2018-01-27 18:28             ` Jere [this message]
2018-01-29 23:05               ` Randy Brukardt
2018-01-29 23:03             ` Randy Brukardt
2018-01-31 11:54         ` Alejandro R. Mosteo
replies disabled

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