This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] DR 60 about tellg, seekg not implemented?
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 11 Jun 2004 11:52:02 +0200
- Subject: Re: [RFC] DR 60 about tellg, seekg not implemented?
- References: <40B7C593.3060808@suse.de> <40B869FB.2070701@suse.de> <20040611003635.13a85b84.bkoz@redhat.com>
Benjamin Kosnik wrote:
In my opinion, the resolution of DR 60 is pretty clear: tellg and seekg
require a sentry:
http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#60
(about paragraphs 36-38 of 27.6.1.3)
Why doesn't istream just define tellg and seekg as seek members, neither
formatted nor unformatted io, as ostream does?
Actually, whereas the changes to the Standard are completely clear, I don't
know the answer to your question: indeed, the difference between istream and
ostream seems like an inconsistency...
All in all, I think it's better to wait a bit on this, barring
clarifications from
people in the committee / involved in the DR.
Thanks again!
Paolo.