[Proposal] Add module for C-strings support in Phobos

"Nordlöw" per.nordlow at gmail.com
Sat Mar 22 05:45:18 PDT 2014


> alias toStringz z;
>
> auto foo = "bar".z;

In this case "bar" is already zero-terminated right?

See

"String literals already have a 0 appended to them"

in http://dlang.org/arrays.html


More information about the Digitalmars-d mailing list