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: [email protected]
          Reporter: [email protected]

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.

--

Reply via email to