Fun with extern(C++)
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 26 06:37:42 PST 2016
On Tuesday, 26 January 2016 at 12:59:35 UTC, Manu wrote:
> Hmmm. I wonder if this will cause problems...
> Is it impossible to support a C++ class implementing a D
> interface?
D interfaces are implicitly convertible to Object.
> I kinda hoped that having a C++ class at the bottom of the
> stack would just be a detail once D classes are derived from
> it, but it seems that any class derived from a C++ base is
> placed into a separate world.
D classes are derived from Object class.
More information about the Digitalmars-d
mailing list