This is the mail archive of the
mailing list for the libstdc++ project.
Re: [v3] more istream::ignore cleanups
Benjamin Kosnik wrote:
Are those discussions recorded somewhere? In the LWG reflector? I would be
it is my understanding that max(), not some modulo, was the imperfect
solution that multiple people thought made the most sense in the
(admittedly) corner case.
interested in the details: actually, strictly speaking, the whole LFS
idea is not
compatible with the C++ standard in the present form...
it's not great, but i think it at leastI'm not 100% sure, frankly: otherwise that would be a totally compelling
signals what is going on for people who care to look.
It looks like you can end up ignoring <streamsize>::max chars also on a
system, completely within the current standard. What's wrong with
ignoring a whole
2G file till eof? (in principle, I mean, we are talking about