Interfacing C++ to D

FreeSlave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 2 09:29:21 PDT 2017


On Sunday, 2 April 2017 at 16:03:51 UTC, FreeSlave wrote:
> On Sunday, 2 April 2017 at 16:02:06 UTC, FreeSlave wrote:
>> On Sunday, 2 April 2017 at 09:58:19 UTC, ANtlord wrote:
>>> [...]
>>
>> Now I see. 'Using C++ Classes From D' crashes for me too. It 
>> also returns the wrong value from 'field' method. Should be 5, 
>> but it returns 0. Probably regression.
>
> Funny thing: If I replace interface with abstract class, it 
> works as it should.

Reported issue: https://issues.dlang.org/show_bug.cgi?id=17293


More information about the Digitalmars-d-learn mailing list