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] A doubt about our istream::sentry::sentry


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


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