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

Walter Bright newshound2 at digitalmars.com
Sat Jul 28 01:03:10 UTC 2018


On 7/27/2018 4:15 PM, Laeeth Isharc wrote:
> Can you think of a pragmatic solution to Atila's problem?

One way is for the C++ => D translator to gather all the members of a namespace 
before trying to emit them. Since D does not impose an order on declarations 
(unlike C++) it is not constrained to follow the same order.


More information about the Digitalmars-d mailing list