digitalmars.D - C++ std::string, std::vector and name mangling
- Guillaume Chatelet (17/17) Dec 08 2015 A while ago I proposed this PR [1] to add support for C++
- w0rp (2/2) Dec 08 2015 Thank you for your work on this. Hopefully someone else knows
A while ago I proposed this PR [1] to add support for C++ std::string, std::vector to D. It's blocked on invalid name mangling for C++ templates [2]. I started fixing src/cppmangle.d [3] but it needs a complete rewrite. Because mangling rules are complex, I took some time to gather my findings here: https://github.com/gchatelet/gcc_cpp_mangling_documentation Once I know precisely how mangling works, I'll rewrite the linux/osx part of src/cppmangle.d. I'm short on spare time so if you're willing to help, drop me a line :) -- 1 - https://github.com/D-Programming-Language/druntime/pull/1316 2 - https://issues.dlang.org/show_bug.cgi?id=14178 3 - https://github.com/D-Programming-Language/dmd/blob/master/src/cppmangle.d
Dec 08 2015
Thank you for your work on this. Hopefully someone else knows enough about name mangling and is willing to do some work on it.
Dec 08 2015