Adding namespaces to C++ interfacing would be great. AFAIK you could also create a linker file and rename the symbols before linking. ------ suggestion: extern(C++, "MyNamespace") interface Foobar { void foo(); void bar(); }