This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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!!!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]