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

Daniel N no at public.email
Thu Aug 2 13:26:52 UTC 2018


On Thursday, 2 August 2018 at 12:30:14 UTC, rikki cattermole 
wrote:
> On 03/08/2018 12:24 AM, Steven Schveighoffer wrote:
>> 
>> I've never seen it, but it's certainly valid C++ and in the 
>> realm of possibility.
>> 
>> -Steve
>

I see, thanks.

> That's easy to solve.
>
> Split into a package, public import each file and alias if 
> required to get each version.
>
> It's easy to work around and most importantly, reasonable.

Agreed.


More information about the Digitalmars-d mailing list