Bug 15512 – extern(C++, ns) should consider taking a string
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-01-04T12:27:22Z
Last change time
2018-09-19T20:20:26Z
Keywords
C++, industry
Assigned to
No Owner
Creator
Manu
Comments
Comment #0 by turkeyman — 2016-01-04T12:27:22Z
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.
Comment #1 by github-bugzilla — 2018-09-19T00:06:39Z