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.

Support of this kind of functions would make it much easier to integrate D in existing C++ repos, which is the key to success (sadly, though).

Reply via email to