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

Reply via email to