extern(C++, ns) is wrong
Steven Schveighoffer
schveiguy at gmail.com
Sun Sep 16 17:46:26 UTC 2018
On 9/14/18 6:41 PM, Neia Neutuladh wrote:
> Specifically, Walter wants this to compile:
>
> module whatever;
> extern(C++, foo) void doStuff();
> extern(C++, bar) void doStuff();
>
> And he's not too concerned that you might have to use doubly fully
> qualified names to refer to C++ symbols, like:
>
> import core.stdcpp.sstream;
> import core.stdcpp.vector;
> core.stdcpp.vector.std.vector v;
This is probably the best explanation of why the current situation sucks.
-Steve
More information about the Digitalmars-d
mailing list