Struct default constructor - need some kind of solution for C++ interop
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 7 05:28:29 PDT 2016
On Wednesday, 7 September 2016 at 12:26:25 UTC, Johan Engelen
wrote:
> On Wednesday, 7 September 2016 at 12:07:56 UTC, Ethan Watson
> wrote:
>>
>> The documentation seems to be correct. I can't extern( C++,
>> class ) or extern( C++, struct ) on an object, even in DMD
>> 2.071.2-beta3.
>
> `extern( C++, class/struct )` is supported by DMD master and
> LDC 1.1.0-beta*.
But it will only change mangling, it doesn't do what you want to
do with it I think.
More information about the Digitalmars-d
mailing list