"Ellery Newcomer" <[email protected]> wrote in message news:[email protected]... > > OT: this function confuses me: > > string s = readln(terminator); > foreach (wchar c; s) //// <----- (?!)
Automatically converts s from string to wstring and iterates over the wchars. It should be dchar, though, not wchar.
