void funk(const std::string& val) {} void funk(std::string val) {}
I'm using toStringz() and it works fine if you're c++ function
parms are const ref or by value:
- Re: Passing string from D to c++ Milvakili
- Re: Passing string from D to c++ Dicebot
- Re: Passing string from D to c++ John Colvin
- Re: Passing string from D to c++ Walter Bright
- Re: Passing string from D to c++ Adam D. Ruppe
- Re: Passing string from D to c++ Jesse Phillips
- Re: Passing string from D to c++ deadalnix
- Re: Passing string from D to c++ Jesse Phillips
- Re: Passing string from D to c++ deadalnix
- Re: Passing string from D to c++ JS
- Re: Passing string from D to c++ bsd
- Re: Passing string from D to c++ Ali Çehreli
- Re: Passing string from D to c++ monarch_dodra
- Re: Passing string from D to c++ deadalnix