2003-09-22 Petur Runolfsson <peturr02@ru.is>
* include/bits/istream.tcc (basic_istream::read,
basic_istream::readsome, basic_istream::putback,
basic_istream::unget, operator>>(basic_istream, CharT)):
Avoid redundant setstate(failbit) calls when sentry::operator bool()
returns false.
From-SVN: r71662
+2003-09-22 Petur Runolfsson <peturr02@ru.is>
+
+ * include/bits/istream.tcc (basic_istream::read,
+ basic_istream::readsome, basic_istream::putback,
+ basic_istream::unget, operator>>(basic_istream, CharT)):
+ Avoid redundant setstate(failbit) calls when sentry::operator bool()
+ returns false.
+
2003-09-22 Carlo Wood <carlo@alinoe.com>
PR libstdc++/12365
__throw_exception_again;
}
}
- else
- this->setstate(ios_base::failbit);
return *this;
}
__throw_exception_again;
}
}
- else
- this->setstate(ios_base::failbit);
return _M_gcount;
}
__throw_exception_again;
}
}
- else
- this->setstate(ios_base::failbit);
return *this;
}
__throw_exception_again;
}
}
- else
- this->setstate(ios_base::failbit);
return *this;
}
__throw_exception_again;
}
}
- else
- __in.setstate(ios_base::failbit);
return __in;
}