
30 Jan
2005
30 Jan
'05
1:13 a.m.
At 09:55 AM 1/28/2005, Lars Gullik Bjønnes wrote:
Jonathan Wakely <cow@compsoc.man.ac.uk> writes: ... | ssize_t sz; | while ( (sz = ::read( infile, buf.get(), buf_sz )) > 0 | && (sz = ::write( outfile, buf.get(), sz )) > 0 ) {}
exactly the kindo thing that has been solved of the implementators for the out << in.rdbuf(); case.
It is really up to the implementor. I'm happy with the current code, modulo any needed bug fixes. It seems too heavy-weight to use iostreams for such a simple problem. --Beman