Fun with extern(C++)

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 26 09:45:10 PST 2016


On 1/26/16 12:08 PM, Kagamin wrote:
> On Tuesday, 26 January 2016 at 15:53:39 UTC, Manu wrote:
>> How does that work?
>> I've never really used classes in D.
>
> Interface vtable has a fixup, which added to the interface pointer gives
> object pointer.

Technically, D interfaces only EXPLICITLY cast to Object.

-Steve


More information about the Digitalmars-d mailing list