Is there any good reason why C++ namespaces are "closed" in D?
Daniel N
no at public.email
Fri Aug 3 11:32:16 UTC 2018
On Friday, 3 August 2018 at 10:58:18 UTC, Atila Neves wrote:
>
> I thought about it some more and managed to make it work. It's
> definitely a hack, but since in my case the user won't usually
> see the generated code anyway it's not too bad. It's far from
> ideal, though, because I can't alias an entire nested namespace
> if it's declared twice, i.e.
>
The user will actually see it, because the full name will be in
all compilation errors, debugging, reflection etc. I think that's
the most annoying part. But it's great that you got it working,
that's the first step. :)
More information about the Digitalmars-d
mailing list