Update doxygen for istream::tellg() to reflect PR/26211?
Brad Spencer
spencer@starscale.com
Sat Apr 16 00:06:00 GMT 2011
On Fri, Apr 15, 2011 at 06:16:11PM +0200, Paolo Carlini wrote:
> ... I reconsidered this issue and realized that what is really
> missing from the Doxygen comment for these functions is a note about
> eofbit being cleared first or not. Indeed N3168 does not correct for
> tellg the surprising behavior noticed in US 137 / US 139 (when DR60
> is fully implemented and a sentry constructed also for the seekg /
> tellg functions, as finally happens in GCC 4.6) by the provision of
> clearing eofbit first. I'm going to apply the below then.
The updated comments make sense to me. Thanks!
--
Brad Spencer
More information about the Libstdc++
mailing list