Walter Bright:

http://wiki.dlang.org/DIP61

Best practices in C++ code increasingly means putting functions and declarations in namespaces. Currently, there is no support in D to call C++ functions in namespaces. The primary issue is that the name mangling doesn't match. Need a simple and straightforward method of indicating namespaces.

In understand that in some cases it could be important to interface C++ code with D.

But I prefer an ugly-looking feature that will be used only to call C++ functions in namespaces, and not for general D programming. So you will not see D code that looks like C++.

Bye,
bearophile

Reply via email to