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]

Re: [RFC] DR 60 about tellg, seekg not implemented?


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.


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