[Issue 15512] New: extern(C++, ns) should consider taking a string

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 4 04:27:22 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15512

          Issue ID: 15512
           Summary: extern(C++, ns) should consider taking a string
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

The set of valid C++ namespaces and valid D identifiers is not identical.

It would be better if extern(C++, ns) was a string; extern(C++, "ns"), then it
wouldn't be reduced to the subset of valid D identifiers, which would lead to
less binding edge cases.

--


More information about the Digitalmars-d-bugs mailing list