Library C++ conformance question

Paolo Carlini pcarlini@suse.de
Fri Jun 16 11:22:00 GMT 2006


Hi again Martin,

> FWIW, I agree with your reading that the facets should ignore
> the initial value of the iostate argument. As for setting eofbit,
> that's now required (or will be in the next standard) -- see
> http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#248

In this area we have got another consistency issue between the facets 
(num, money, time), which we discussed briefly time ago, Nathan also 
participating: whether eventually eofbit and/or failbit are *assigned* 
vs *OR-ed* to err. AFAICS, if we carefully compare the blanket in 22.2 
and the individual facets, it's a big mess.

I seem to remember that Nathan strongly favor OR everywhere, both for 
eofbit and failbit (and we are currently implementing that behavior).

Paolo.



More information about the Libstdc++ mailing list