This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] A doubt about our istream::sentry::sentry
- From: Martin Sebor <sebor at roguewave dot com>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 17 May 2004 11:29:54 -0600
- Subject: Re: [RFC] A doubt about our istream::sentry::sentry
- References: <40A60A7A.8000909@suse.de>
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