Passing string from D to c++

bsd slackovsky at gmail.com
Tue Jul 30 15:03:30 PDT 2013


I'm using toStringz() and it works fine if you're c++ function 
parms are const ref or by value:

void funk(const std::string& val) {}
void funk(std::string val) {}




More information about the Digitalmars-d mailing list