Is there any good reason why C++ namespaces are "closed" in D?
Nicholas Wilson
iamthewilsonator at hotmail.com
Tue Aug 7 03:14:06 UTC 2018
On Tuesday, 7 August 2018 at 02:25:32 UTC, Walter Bright wrote:
> Let's see if we can find some common ground.
>
> The boilerplate I suggested seems to enable DPP to generate
> working code that behaves "as if" the namespace scope is not
> there, even for nested namespaces.
>
> Is this correct?
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
More information about the Digitalmars-d
mailing list