std.file.read implementation contest

Sean Kelly sean at invisibleduck.org
Mon Feb 16 16:36:52 PST 2009


Andrei Alexandrescu wrote:
> 
> I totally agree. The useful spec of std.file.read should be "reads the 
> file to exhaustion in a buffer and returns it"

Okay, that's a fair definition.  So the correct behavior for reading an 
unbounded stream should be an out of memory error?  This would be 
entirely reasonable, but any failure conditions should be described as well.



More information about the Digitalmars-d mailing list