mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 03:39:29 +08:00
3bbfb3d91d
2002-12-26 Phil Edwards <pme@gcc.gnu.org> * include/std/std_bitset.h (_Base_bitset::_M_do_left_shift, _Base_bitset::_M_do_right_shift): Expect a non-zero shift. (bitset::operator<<=, bitset::operator>>=): When shifting more bits than are in the bitset, zero memory rather than segfault. (operator>>(basic_istream,bitset): Only call setstate once, after all work has been done. * testsuite/23_containers/bitset_members.cc (test03): New test. * testsuite/23_containers/bitset_shift.cc (test02): New test. From-SVN: r60533 |
||
---|---|---|
.. | ||
std_algorithm.h | ||
std_bitset.h | ||
std_complex.h | ||
std_deque.h | ||
std_fstream.h | ||
std_functional.h | ||
std_iomanip.h | ||
std_ios.h | ||
std_iosfwd.h | ||
std_iostream.h | ||
std_istream.h | ||
std_iterator.h | ||
std_limits.h | ||
std_list.h | ||
std_locale.h | ||
std_map.h | ||
std_memory.h | ||
std_numeric.h | ||
std_ostream.h | ||
std_queue.h | ||
std_set.h | ||
std_sstream.h | ||
std_stack.h | ||
std_stdexcept.h | ||
std_streambuf.h | ||
std_string.h | ||
std_utility.h | ||
std_valarray.h | ||
std_vector.h |