DIP61: Add namespaces to D

justme via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 28 09:01:09 PDT 2014


On Saturday, 26 April 2014 at 20:16:34 UTC, Walter Bright wrote:
> On 4/26/2014 12:27 PM, Daniel Murphy wrote:
>> We already have a feature to manage conflicts and organisation 
>> in D code -
>> modules!
>
> True. But what D doesn't have is a global namespace. I don't 
> propose one for D, but C++ symbols may appear in the C++ global 
> namespace, or in a C++ namespace. So using D modules to 
> represent C++ namespaces has a problem.

extern(C++, facebook::folly) as bigcorp.whim;



More information about the Digitalmars-d mailing list