December 08, 2015 C++ std::string, std::vector and name mangling | ||||
|---|---|---|---|---|
| ||||
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 | ||||
December 08, 2015 Re: C++ std::string, std::vector and name mangling | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Guillaume Chatelet | Thank you for your work on this. Hopefully someone else knows enough about name mangling and is willing to do some work on it. | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply