On Wednesday, 3 August 2016 at 15:41:55 UTC, llaine wrote:
void foo(string str) { writeln(str); }
shouldn't foo be: void foo(char* str) { import std.string; writeln(str.fromStringz); } bye, lobo
On Wednesday, 3 August 2016 at 15:41:55 UTC, llaine wrote:
void foo(string str) { writeln(str); }
shouldn't foo be: void foo(char* str) { import std.string; writeln(str.fromStringz); } bye, lobo