|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-07-04 03:25:53
Jeff Garland wrote:
> Jonathan Turkanis wrote
>> Jeff Garland wrote:
>>> Jonathan Turkanis wrote
>> Apparently so. For many of the deprecated functions there's a
>> recommended safe version with the _s suffix, and most of these are
>> proposed for standardization
>> (see, e.g., http://www.open-
>> std.org/jtc1/sc22/wg14/www/docs/n1055.pdf.)
>
> Yep -- looked at that, but it doesn't seem to cover all the deprecated
> functions -- which is not good :-(
>
>> But in the cases I'm talking about, there seem to be no new 'safe'
>> versions. In fact, it's hard see how there could be, since the
>> existing functions already provide a buffer size parameter. For
>> example, what would basic_istream::read_s look like?
>
> Right, got it -- that doesn't make sense. Should we submit a formal
> bug report?
Judging by John's post, it looks like that's already been done.
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk