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]

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


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?

Thanks for any clarification,
Paolo.


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