Is there any good reason why C++ namespaces are "closed" in D?

Manu turkeyman at gmail.com
Sun Jul 29 04:23:26 UTC 2018


On Sat., 28 Jul. 2018, 8:25 pm Walter Bright via Digitalmars-d, <
digitalmars-d at puremagic.com> wrote:

> On 7/28/2018 11:18 AM, Manu wrote:
> > Make a PR that implements namespace as a string... I will use that fork
> of D
> > forever.
>
> 1. Look how it is mangled on the C++ side. (Use "grep" on the object file.)
>
> 2. Use:
>
>     pragma(mangle, "the mangled name")


Don't troll me on this one, this is a very sensitive topic!
I could have a legit mental breakdown ;)

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20180728/0292ee49/attachment.html>


More information about the Digitalmars-d mailing list