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 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
deque 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
forward_list 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
headers
list 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
map Add assertion to _Rb_tree::erase to check for end iterators 2016-12-16 18:13:09 +00:00
multimap 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
multiset 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
priority_queue 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
queue 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
set 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
stack Implement P0084R2, Emplace return type, for C++17 2016-10-17 13:00:38 +01:00
unordered_map 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
unordered_multimap 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
unordered_multiset 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
unordered_set 57619.C: Rename to 57619.cc. 2016-10-17 13:32:32 +00:00
vector Replace dynamic exception specifications in testsuite 2016-12-07 15:22:51 +00:00