This stomping becomes more of a problem for library writers:char * toStringZ(string s) { s ~= '\0'; return s.ptr; }
Apologies, this should be written: immutable(char) * toStringZ(string s) -Steve
This stomping becomes more of a problem for library writers:char * toStringZ(string s) { s ~= '\0'; return s.ptr; }
Apologies, this should be written: immutable(char) * toStringZ(string s) -Steve