Boost logo

Boost :

From: bill_kempf (williamkempf_at_[hidden])
Date: 2001-12-21 10:55:43


--- In boost_at_y..., "mfdylan" <dylan_at_m...> wrote:
> Look at the one I put in files (under socketbuf.zip), it doesn't
> involve locales or iostreams at all, in fact it doesn't even derive
> from ios, which there might be a some reasonable argument for.
> All it does is make use of the standardised streambuf interface (in
> fact the only functions it uses are sputn(), sgetn() and sync()).
> It *is* a stream however, and it would be misleading to call it
> anything else. I think binary_stream as opposed to binary_iostream
> works as a name - the interface is largely the same as
std::iostream,
> and conceptually they are both streams, but it doesn't make any
claim
> to *be* a std::iostream.

I think you need to retain the io in the name. After all, there
should be a binary_istream and a binary_ostream as well.

Bill Kempf


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