extern(C++, ns)

Jason Jeffory via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 12 20:53:38 PST 2016


New construct to solve the problem!

extern(C++, nsin, nsout)

The nsin is the C++ namespace to import from and nsout is the D 
namespace that the symbol ends up being in. You can default nsout 
to be local, global, or whatever one wants.



More information about the Digitalmars-d mailing list