Rename std.string.toStringz?

Kagamin spam at here.lot
Fri Jun 17 06:19:01 PDT 2011


Dmitry Olshansky Wrote:

> Fixable with alias this, but still I dislike this c_str artifact.
> It looks like you are converting type, while all it does is ensuring 
> that there is enough 0 bytes past the end of string.

It should convert if you pass it, say, dchar[].
toStringz should also support conversion to mutable string.


More information about the Digitalmars-d mailing list