[Issue 18813] New: fromStringz should work with char, wchar and dchar
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 30 18:22:00 UTC 2018
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 at puremagic.com
Reporter: giles.bathgate+dlang at 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.
--
More information about the Digitalmars-d-bugs
mailing list