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: [email protected]
Reporter: [email protected]
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.
--