[Issue 19151] std.utf.toUTF16z() can not be used for LPWSTR

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 21 20:57:53 UTC 2019


--- Comment #2 from Bastiaan Veelo <Bastiaan at Veelo.net> ---
The return type changed from wchar* to const(wchar*) ages ago, in a commit
called "phobos-2.000". Git reports 10/09/2007, which seems to be the date of
the migration from another RCS.

Anyway, this is when toUTF16z stopped working for LPWSTR. Can toUTF16z be
changed to use inout, maybe?



More information about the Digitalmars-d-bugs mailing list