I don't like how the hacky implementation of toStringz is @trusted. Manifestation of problems: https://forum.dlang.org/thread/rbyetgbruyiohgudsbhg@forum.dlang.org Issue: https://issues.dlang.org/show_bug.cgi?id=15136 Implementation: https://github.com/dlang/phobos/blob/master/std/string.d#L364-L365