www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15512] New: extern(C++, ns) should consider taking a string

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 puremagic.com
          Reporter: turkeyman 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.

--
Jan 04 2016