gcc/libstdc++-v3/include/debug
François Dumont 84a9d3b6c1 macros.h (__glibcxx_check_can_increment_range): New.
2018-06-12  François Dumont  <fdumont@gcc.gnu.org>

	* include/debug/macros.h (__glibcxx_check_can_increment_range): New.
	(__glibcxx_check_can_decrement_range): New.
	* include/debug/debug.h (__glibcxx_requires_can_increment_range): New.
	(__glibcxx_requires_can_decrement_range): New.
	* include/bits/stl_algobase.h (std::copy(_II, _II, _OI)): Use
	__glibcxx_requires_can_increment_range.
	(std::move(_II, _II, _OI)): Likewise.
	(std::copy_backward(_BI, _BI, _BI2)): Use
	__glibcxx_requires_can_decrement_range.
	(std::move_backward(_BI, _BI, _BI2)): Likewise.
	* testsuite/25_algorithms/copy_backward/debug/1_neg.cc: New.
	* testsuite/25_algorithms/copy_backward/debug/2_neg.cc: New.
	* testsuite/25_algorithms/copy_backward/debug/3_neg.cc: New.
	* testsuite/25_algorithms/equal/debug/1_neg.cc: New.
	* testsuite/25_algorithms/equal/debug/2_neg.cc: New.
	* testsuite/25_algorithms/equal/debug/3_neg.cc: New.

From-SVN: r261525
2018-06-12 20:18:35 +00:00
..
array Update copyright years. 2018-01-03 11:03:58 +01:00
assertions.h Update copyright years. 2018-01-03 11:03:58 +01:00
bitset Update copyright years. 2018-01-03 11:03:58 +01:00
debug.h Update copyright years. 2018-01-03 11:03:58 +01:00
deque macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
formatter.h safe_iterator.h (_Safe_iterator<>::_M_constant()): Rename in... 2018-05-09 20:04:46 +00:00
forward_list macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
functions.h macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
helper_functions.h Update copyright years. 2018-01-03 11:03:58 +01:00
list macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
macros.h macros.h (__glibcxx_check_can_increment_range): New. 2018-06-12 20:18:35 +00:00
map Update copyright years. 2018-01-03 11:03:58 +01:00
map.h 2018-05-18 François Dumont <fdumont@gcc.gnu.org> 2018-05-18 20:49:49 +00:00
multimap.h 2018-05-18 François Dumont <fdumont@gcc.gnu.org> 2018-05-18 20:49:49 +00:00
multiset.h 2018-05-18 François Dumont <fdumont@gcc.gnu.org> 2018-05-18 20:49:49 +00:00
safe_base.h Update copyright years. 2018-01-03 11:03:58 +01:00
safe_container.h Update copyright years. 2018-01-03 11:03:58 +01:00
safe_iterator.h safe_iterator.h (_Safe_iterator<>::_M_constant()): Rename in... 2018-05-09 20:04:46 +00:00
safe_iterator.tcc Update copyright years. 2018-01-03 11:03:58 +01:00
safe_local_iterator.h safe_iterator.h (_Safe_iterator<>::_M_constant()): Rename in... 2018-05-09 20:04:46 +00:00
safe_local_iterator.tcc Update copyright years. 2018-01-03 11:03:58 +01:00
safe_sequence.h Update copyright years. 2018-01-03 11:03:58 +01:00
safe_sequence.tcc Update copyright years. 2018-01-03 11:03:58 +01:00
safe_unordered_base.h Update copyright years. 2018-01-03 11:03:58 +01:00
safe_unordered_container.h Update copyright years. 2018-01-03 11:03:58 +01:00
safe_unordered_container.tcc Update copyright years. 2018-01-03 11:03:58 +01:00
set Update copyright years. 2018-01-03 11:03:58 +01:00
set.h 2018-05-18 François Dumont <fdumont@gcc.gnu.org> 2018-05-18 20:49:49 +00:00
stl_iterator.h Update copyright years. 2018-01-03 11:03:58 +01:00
string macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
unordered_map macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
unordered_set macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
vector macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00