On Tuesday, 5 April 2016 at 07:10:50 UTC, tsbockman wrote:
You can also combine both steps into a one-liner: wstring wstr = cw[0 .. cw_len].idup;
This should do the trick, too: import std.conv : to; auto wstr = to!wstring(cw);
On Tuesday, 5 April 2016 at 07:10:50 UTC, tsbockman wrote:
You can also combine both steps into a one-liner: wstring wstr = cw[0 .. cw_len].idup;
This should do the trick, too: import std.conv : to; auto wstr = to!wstring(cw);