I feel a little stupid, but how to convert a wchar* zero terminated string into a wstring (DMD 2.055)?

wstring w = cstr[0 .. strlenw(cstr)];

Reply via email to