mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 13:49:53 +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 |
||
---|---|---|
.. | ||
adaptors.cc | ||
bitset_ctor.cc | ||
bitset_members.cc | ||
bitset_shift.cc | ||
deque_ctor.cc | ||
deque_operators.cc | ||
list_capacity.cc | ||
list_ctor.cc | ||
list_modifiers.cc | ||
list_operators.cc | ||
map_insert.cc | ||
map_operators_neg.cc | ||
map_operators.cc | ||
multiset.cc | ||
set_operators_neg.cc | ||
vector_bool.cc | ||
vector_capacity.cc | ||
vector_ctor.cc | ||
vector_element_access.cc | ||
vector_modifiers.cc | ||
vector_resize.cc |