On Monday, 30 April 2018 at 01:07:35 UTC, NewUser wrote:
Hi,How do I pass a d string to a c++ std::string? NewUser
There is no trivial way to do this as far as I'm aware, mostly due to C++ mangling issues in DMD. You can try calypso [0] or dpp [1], which might work. You can also see this PR[2]
[0]: https://wiki.dlang.org/Calypso[1]: https://forum.dlang.org/post/kbcdppawjtcdkdtdz...@forum.dlang.org
[2]: https://github.com/dlang/druntime/pull/1316