On 2014-04-01 19:32, monnoroch wrote:
Could anyone explain, why D cannot interface C++ functions in namespaces like that:namespace A { struct S {}; struct T {}; S* get(T* v); } Because i just ddon't get it: namespaces are just a part of C++ name mangling, they are not something special.
I'm pretty sure you can use extern (C++) then manually specify the mangling using pragma(mangle, "mangled_c++_name").
-- /Jacob Carlborg
