
2 Jul
2005
2 Jul
'05
4:38 p.m.
Bo Persson wrote:
"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? :-)
Heh, okay. These 'safe' functions require a little cooperation from the user.
They have definitely gone overboard in this case!
According to John's post, they've come to their senses, at least partially.
Bo Persson
Jonathan