Is there any good reason why C++ namespaces are "closed" in D?

Nicholas Wilson iamthewilsonator at hotmail.com
Tue Aug 7 07:08:41 UTC 2018


On Tuesday, 7 August 2018 at 05:58:17 UTC, Walter Bright wrote:
> On 8/6/2018 8:14 PM, Nicholas Wilson wrote:
>> Yes, but only for a single instance of the namespace.
>> In the general case no, see the first reply in 
>> https://forum.dlang.org/post/xdaedmlbbqtztiqcwxll@forum.dlang.org
>
> The idea is to not have a namespace

That is what we have been arguing for all thread...

> I don't see what making an alias to a namespace has to do with 
> it.

That was your suggested workaround, was it not? If not you have 
_really_ lost me.




More information about the Digitalmars-d mailing list