Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2003-11-16 02:29:02


On 11/15/03 3:07 AM, "Jonathan Turkanis" <technews_at_[hidden]> wrote:

> Regarding the i/o state savers for advanced standard attributes, the
> documentation says that the destructor 'changes the stream's attribute back
> to the saved value.' In the case of basic_ios_iostate_saver, however, it is
> not always possible to restore the stream state: a stream which was
> originally 'good' may later have had its buffer set to 0, and such a stream
> can never be 'good'.
>
> I think it would be more accurate to say that the destructor in this case
> 'attempts to restore' the original value. Maybe a footnote would be
> appropriate.

Hopefully fixed (via tweaking some existing footnotes).

Daryle


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk