[RFC] A doubt about our istream::sentry::sentry

Martin Sebor sebor@roguewave.com
Mon May 17 17:35:00 GMT 2004


Paolo Carlini wrote:

> Hi,
> 
> I have a doubt about our constructor: suppose we enter it with 
> !is.good(), then no preparation takes place and setstate(failbit) is 
> called. However, I don't find support for the latter action in the 
> standard: indeed, it says in 27.6.1.1.2, p5, that setstate(failbit) may 
> be called, but /during the preparation/ not at any time.
> 
> Are there relevant DRs that I'm missing?

I think this is the same as issue 419:
http://www.open-std.org/jtc1/sc22/wg21/prot/14882fdis/n1635.html#419

Martin



More information about the Libstdc++ mailing list