DIP61: Add namespaces to D

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 27 08:33:02 PDT 2014


"Jason King"  wrote in message news:cgcqomgrrtujzckvuvyv at forum.dlang.org...

> >     extern (C++, N.M) { void foo(); }
> >
> >     extern (C++) namespace N { namespace M { void foo(); }}
>
> Excellent.  Solves the problem, doesn't add new language elements.

It adds a new scoping rule, and new syntax.  Neither of those things are 
necessary. 



More information about the Digitalmars-d mailing list