This is the mail archive of the
mailing list for the libstdc++ project.
Re: forwarded message from Jerry Quinn
Benjamin Kosnik wrote:
Before the fix for 9563, istream::sentry was already doing the right
thing. Now ostream::sentry also does, only, a bit less efficiently than
it could, as pointed out by Jerry. Changing:
If in the next few hours nobody obejcts I will commit this change to
both trunk and 3_3.
looks good, but can you synch up both in and out sentries to do the right thing?
if (__os.good() && __os.tie())
if (__os.tie() && __os.good())
fixes this performance bit.