gcc/libstdc++-v3/include/debug
François Dumont 05a30af3f2 libstdc++: Implement N3644 for _GLIBCXX_DEBUG iterators
libstdc++-v3/ChangeLog:

	PR libstdc++/98466
	* include/bits/hashtable_policy.h (_Node_iterator_base()): Set _M_cur to nullptr.
	(_Node_iterator()): Make default.
	(_Node_const_iterator()): Make default.
	* include/debug/macros.h (__glibcxx_check_erae_range_after): Add _M_singular
	iterator checks.
	* include/debug/safe_iterator.h
	(_GLIBCXX_DEBUG_VERIFY_OPERANDS): Accept if both iterator are value initialized.
	* include/debug/safe_local_iterator.h (_GLIBCXX_DEBUG_VERIFY_OPERANDS):
	Likewise.
	* include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): Add
	_M_singular checks on input iterators.
	* src/c++11/debug.cc (_Safe_iterator_base::_M_can_compare): Remove _M_singular
	checks.
	* testsuite/23_containers/deque/debug/98466.cc: New test.
	* testsuite/23_containers/unordered_map/debug/98466.cc: New test.
2021-01-14 19:23:54 +01:00
..
assertions.h Update copyright years. 2021-01-04 10:26:59 +01:00
bitset Update copyright years. 2021-01-04 10:26:59 +01:00
debug.h Update copyright years. 2021-01-04 10:26:59 +01:00
deque Update copyright years. 2021-01-04 10:26:59 +01:00
formatter.h Update copyright years. 2021-01-04 10:26:59 +01:00
forward_list Update copyright years. 2021-01-04 10:26:59 +01:00
functions.h Update copyright years. 2021-01-04 10:26:59 +01:00
helper_functions.h Update copyright years. 2021-01-04 10:26:59 +01:00
list Update copyright years. 2021-01-04 10:26:59 +01:00
macros.h libstdc++: Implement N3644 for _GLIBCXX_DEBUG iterators 2021-01-14 19:23:54 +01:00
map Update copyright years. 2021-01-04 10:26:59 +01:00
map.h Update copyright years. 2021-01-04 10:26:59 +01:00
multimap.h Update copyright years. 2021-01-04 10:26:59 +01:00
multiset.h Update copyright years. 2021-01-04 10:26:59 +01:00
safe_base.h Update copyright years. 2021-01-04 10:26:59 +01:00
safe_container.h Update copyright years. 2021-01-04 10:26:59 +01:00
safe_iterator.h libstdc++: Implement N3644 for _GLIBCXX_DEBUG iterators 2021-01-14 19:23:54 +01:00
safe_iterator.tcc libstdc++: Implement N3644 for _GLIBCXX_DEBUG iterators 2021-01-14 19:23:54 +01:00
safe_local_iterator.h libstdc++: Implement N3644 for _GLIBCXX_DEBUG iterators 2021-01-14 19:23:54 +01:00
safe_local_iterator.tcc Update copyright years. 2021-01-04 10:26:59 +01:00
safe_sequence.h Update copyright years. 2021-01-04 10:26:59 +01:00
safe_sequence.tcc Update copyright years. 2021-01-04 10:26:59 +01:00
safe_unordered_base.h Update copyright years. 2021-01-04 10:26:59 +01:00
safe_unordered_container.h Update copyright years. 2021-01-04 10:26:59 +01:00
safe_unordered_container.tcc Update copyright years. 2021-01-04 10:26:59 +01:00
set Update copyright years. 2021-01-04 10:26:59 +01:00
set.h Update copyright years. 2021-01-04 10:26:59 +01:00
stl_iterator.h Update copyright years. 2021-01-04 10:26:59 +01:00
string Update copyright years. 2021-01-04 10:26:59 +01:00
unordered_map Update copyright years. 2021-01-04 10:26:59 +01:00
unordered_set Update copyright years. 2021-01-04 10:26:59 +01:00
vector Update copyright years. 2021-01-04 10:26:59 +01:00