On Wed, 28 Sep 2011 22:43:13 +0300, Andrej Mitrovic
<[email protected]> wrote:
Do the Phobos devs really expect people to use code like this:
CopyFileW(std.utf.toUTFz!(const(wchar)*)(from),
std.utf.toUTFz!(const(wchar)*)(to), false)
instead of this?:
CopyFileW(std.utf.toUTF16z(from), std.utf.toUTF16z(to), false)
How about this?
CopyFileW(std.utf.toUTFz!LPCWSTR(from), std.utf.toUTFz!LPCWSTR(to),
false)
If there isn't already, support for this should be added to std.conv.to.
--
Best regards,
Vladimir mailto:[email protected]