This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[RFC] A doubt about our istream::sentry::sentry
- From: Paolo Carlini <pcarlini at suse dot de>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 15 May 2004 14:18:02 +0200
- Subject: [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.