On 4/26/2014 11:21 AM, Dicebot wrote:
Namespaces also don't solve any problem for that can't be already elegantly solved.
There isn't any existing elegant solution to calling a C++ function in a namespace. See Mike's post.
We are very reluctant to add new useful features because of implied implementation, documentation and learning overhead. Abandoning that principle to add a useless feature instead is just horrible.
It has occurred to me to make namespaces only valid inside of an extern(C++) block. That at least would make it clear what it is for, and prevent casual use in D code.
