extern(C++, ns) is wrong

Zot Zot at Zot.Zot
Fri Sep 14 09:56:52 UTC 2018


On Thursday, 13 September 2018 at 23:30:33 UTC, Jonathan M Davis 
wrote:
> On Thursday, September 13, 2018 4:43:47 PM MDT Manu via 
> Digitalmars-d wrote:
>> [...]
>
> I'm not disagreeing, but I'm not the person who needs to be 
> convinced. Either way, a DIP needs to be produced which
>
> [...]

As someone who does a lot of c/c++ binding I am 100% in favor of 
Manu's extern(C++, "ns")
I also want to point out that extern should work in mixins (see 
bug https://issues.dlang.org/show_bug.cgi?id=12575).
So probably a good idea to clearify interactions like that in a 
DIP as well.

- Zot


More information about the Digitalmars-d mailing list