gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 36b8852641 Add assertion to _Rb_tree::erase to check for end iterators
* include/bits/stl_tree.h (_Rb_tree::_M_erase_aux(const_iterator)):
	Add assertion for undefined argument.
	(_Rb_tree::_M_erase_aux(const_iterator, const_iterator)): Call
	_M_erase_aux directly instead of through erase.
	(_Rb_tree::_M_erase_aux(const Key&)): Likewise.
	* testsuite/23_containers/map/modifiers/erase/end_neg.cc: New test.

From-SVN: r243757
2016-12-16 18:13:09 +00:00
..
array Delete std::swap for debug mode array 2016-12-08 13:25:03 +00:00
bitset
deque
forward_list
headers
list
map Add assertion to _Rb_tree::erase to check for end iterators 2016-12-16 18:13:09 +00:00
multimap
multiset
priority_queue
queue
set
stack
unordered_map
unordered_multimap
unordered_multiset
unordered_set
vector Replace dynamic exception specifications in testsuite 2016-12-07 15:22:51 +00:00