On 6/11/13 11:57 AM, Steven Schveighoffer wrote:
This code DOES fail:import std.stdio; int main() { writeln("hello"); std.stdio.stdout.flush(); return 0; }
Ah, I suspected so. (At a point in D's history writeln() did do a flush; people wanted to eliminate it for efficiency reasons.)
We could introduce a flush() with throw in std.stdiobase. Andrei