[libstdc++] Partial implementation of DR 60.

Mark Mitchell mark@codesourcery.com
Thu Apr 24 19:34:00 GMT 2003


On Wed, 2003-04-23 at 00:19, Phil Edwards wrote:
> On Mon, Apr 21, 2003 at 11:06:06AM -0500, Benjamin Kosnik wrote:
> > 
> > >DR 60 makes changes to which functions affect, or do not affect, subsequent
> > >calls to gcount().  Easily implemented as below.  I'd actually noticed
> > >these back when doxygenating the I/O library, but never checked them in.  (?)
> > >
> > >DR 60 also changes other things, not done here.
> > 
> > Ouch!!!! I had just changed some of this behavior when the testsuites
> > got re-packaged. I was sure that I had added tests for some of this
> > stuff.
> 
> You did, for putback and unget.  And the behavior was already correct
> for tellg, this will just add a comment there.  It correct sync and
> both forms of seekg, and adds tests.
> 
> Mark, this fixes some inconsistent behavior that we'd really like to
> get right in 3.3, and is a very stable change.  It's always been broken,
> I believe.

This is OK for the branch.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Libstdc++ mailing list