Summary: to!wstring("Hello, world!"w.ptr) == "4"
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Vladimir Panteleev <> 2012-07-13 
05:31:22 PDT ---
import std.stdio;
import std.conv;
import std.string;

void main()
    writeln(to!wstring("Hello, world!"w.ptr));

Apparently, on some systems the answer can be "8":

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to