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

Walter Bright newshound2 at digitalmars.com
Mon Jul 30 03:20:15 UTC 2018


On 7/29/2018 7:50 PM, Nicholas Wilson wrote:
> No it doesn't.

I meant that you can today "reopen" namespace scopes by placing them in separate 
modules.

You can (today) also "reopen" namespace scopes by placing them in separate mixin 
templates, or struct declarations. I posted examples.


More information about the Digitalmars-d mailing list