DIP61: Add namespaces to D

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 27 11:36:48 PDT 2014


Am Sun, 27 Apr 2014 00:08:17 -0700
schrieb Walter Bright <newshound2 at digitalmars.com>:

> On 4/26/2014 11:22 PM, Daniel Murphy wrote:
> > I am NOT suggesting module name and namespace mangling should be tied together.
> > Use D modules for symbol organisation, and add a simple feature for specifying a
> > C++ namespace when required.
> 
> The 'namespace' feature actually does work analogously to modules.

Does that mean the full name in D would become something like this?:

[D module     ] [C++ namespace]
company.project.company.project.func

-- 
Marco



More information about the Digitalmars-d mailing list