This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] 9371/9546/10093/10095
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Pétur Runólfsson <peturr02 at ru dot is>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 1 Dec 2003 20:56:32 -0600
- Subject: Re: [v3] 9371/9546/10093/10095
- Organization: Red Hat / Chicago
- References: <07D05A69A3D0C14FAEA60C3ACE8E5564028F5607@mail.ru.is>
>The effects clause for setstate() seems to require that the second
>call call to setstate() should call clear(), which should throw an
>exception. Am I missing something?
No, it's just counter-intuitive to call setstate with goodbit. At
least it was for me... also, trying to avoid the if (__err) bits. Oh well.
I fixed this part up, thanks.
The rest is a mess. I don't agree with your interpretation here, but
will get to that tomorrow. It would be nice to have consistent error
reporting with both inserters and extractors for streambufs.
best,
benjamin