digitalmars.D.bugs - [Issue 18813] New: fromStringz should work with char, wchar and dchar
- d-bugmail puremagic.com (19/19) Apr 30 2018 https://issues.dlang.org/show_bug.cgi?id=18813
https://issues.dlang.org/show_bug.cgi?id=18813 Issue ID: 18813 Summary: fromStringz should work with char, wchar and dchar Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: giles.bathgate+dlang gmail.com The std.string.fromStringz function currently only works with zero-terminated strings of char. The following PR adds additional support for wchar and dchar: https://github.com/dlang/phobos/pull/6438 The existing char only API is left for backwards compatibility. --
Apr 30 2018