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.