digitalmars.D.bugs - [Issue 18105] New: std.conv.parse!wchar cannot take a string
- d-bugmail puremagic.com (19/19) Dec 19 2017 https://issues.dlang.org/show_bug.cgi?id=18105
https://issues.dlang.org/show_bug.cgi?id=18105 Issue ID: 18105 Summary: std.conv.parse!wchar cannot take a string Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: dechcaudron+dlang.issue.tracking protonmail.com Since any char fits into a wchar, and given that parse!dchar(string) works, it seems logical that it also works for wchar. Doing so should also allow to!wchar(string) to work as to!dchar(string) does. Merely reporting an issue that has personally affected me and I've already fixed in my Phobos fork. Will create PR. --
Dec 19 2017