Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-01-29 20:13:24


At 09:55 AM 1/28/2005, Lars Gullik Bjønnes wrote:
>Jonathan Wakely <cow_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk