Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-09-10 15:54:44


Alexander Grund wrote:
> > s.read( buf ) writes data to the buffer you supply
>
> I get the rationale. But reading that code I would expect that "s" reads
> from "buf".

¯\_(ツ)_/¯

I'd certainly not expect any such thing if s were File or an istream.


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