|
Boost Testing : |
From: Bo Persson (bop_at_[hidden])
Date: 2005-07-02 04:48:12
"Jonathan Turkanis" <technews_at_[hidden]> skrev i meddelandet
news:da4hie$tav$1_at_sea.gmane.org...
> Cory Nelson wrote:
>> The deprecated functions/methods I've seen all take buffers as
>> arguments but not their sizes.
>
> That's one reason I'm puzzled by the deprecation of istream::read and
> streambuf::sgetn, which take buffer size parameters.
No, they don't. They take requested number of characters to read. What
if the buffer is smaller? :-)
They have definitely gone overboard in this case!
Bo Persson