
2 Jul
2005
2 Jul
'05
9:48 a.m.
"Jonathan Turkanis" <technews@kangaroologic.com> skrev i meddelandet news:da4hie$tav$1@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