[RFC] err |= ios_base::failbit or err = ios_base::failbit?!?

Paolo Carlini pcarlini@unitus.it
Mon Jan 5 23:09:00 GMT 2004


Nathan Myers wrote:

>The treatment of the "err" argument was meant to match that of the
>C library's "errno" global -- nothing touches it unless there's an
>error.  I'd rather see an issue entered to say that num_get<>::get
>never touches it except to assign failbit.
>
I'm not sure to understand what you are suggesting for eofbit, though.
No changes to the current text (22.2.2.1.2, p13), err |= eofbit?

Paolo.

P.S. Many thanks to you and Martin for clarifying the issue!!!



More information about the Libstdc++ mailing list