[Issue 7961] Add support for C++ namespaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 08:45:20 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=7961



--- Comment #13 from Lionello Lunesu <lio+bugzilla at lunesu.com> 2013-11-14 08:45:13 PST ---
https://github.com/D-Programming-Language/dmd/pull/2767

Using @namespace, like so:

struct namespace{string s;}
extern(C++):
void noattrib(int);
@namespace("test")
{
  void attrib(T);
  struct T;
}

Would personally love to have "::" support as well, but should we allow
@namespace("::") to reset? Might get too complicated. Current system maps
nicely to C++.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list