On 1/19/2016 6:51 PM, Timon Gehr wrote:
That's how it works. However, two namespace declarations with the same
identifier will conflict, unlike in C++.

Right. Also, in C++, function overloading can behave erratically depending on which version(s) of a namespace are visible or not. D doesn't have this problem, you'll have to use aliases and/or qualification if overloading across namespaces with the same name. (The usual anti-hijacking rules.)

Reply via email to