[Issue 7961] Add support for C++ namespaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 10 04:17:17 PST 2013


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



--- Comment #8 from yebblies <yebblies at gmail.com> 2013-11-10 23:17:13 EST ---
(In reply to comment #7)
> Isn't a C++ namespace only a mangle thing? In that case can't we just use
> pragma(mangle) and create a library function which helps making it a bit more
> high level:
> 
> pragam(managle, namespace("foo::bar")) void x ();

We would have to mangle in the function name and type as well.  Not really
something you want to do manually.

-- 
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