gcc/libstdc++-v3/include/debug
François Dumont eb04ee1d0f 2018-06-13 François Dumont <fdumont@gcc.gnu.org>
* include/debug/helper_functions.h
	(__gnu_debug::_Safe_iterator<>): Add declaration.
	(__can_advance(_Ite, _Size)): New.
	(__can_advance(const _Safe_iterator<>&, _Size)): Overload declaration.
	* include/debug/functions.h
	(__gnu_debug::_Safe_iterator<>): Remove declaration.
	* include/debug/stl_iterator.h
	(__can_advance(const _Safe_iterator<>&)): New definition.
	* include/debug/stl_iterator.h
	(__can_advance(const std::reverse_iterator<>&, _Size)): New.
	(__can_advance(const std::move_iterator<>&, _Size)): New.
	* include/debug/macros.h (__glibcxx_check_can_increment): New.
	* include/debug/debug.h (__glibcxx_requires_can_increment): New.
	* include/bits/stl_algobase.h (fill_n): Use latter.
	* testsuite/25_algorithms/fill_n/2.cc: New.
	* testsuite/25_algorithms/fill_n/debug/1_neg.cc: New.
	* testsuite/25_algorithms/fill_n/debug/2_neg.cc: New.
	* testsuite/25_algorithms/fill_n/debug/3_neg.cc: New.
	* testsuite/25_algorithms/fill_n/debug/4_neg.cc: New.

From-SVN: r261566
2018-06-13 20:27:26 +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 2018-06-13 François Dumont <fdumont@gcc.gnu.org> 2018-06-13 20:27:26 +00: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 2018-06-13 François Dumont <fdumont@gcc.gnu.org> 2018-06-13 20:27:26 +00:00
helper_functions.h 2018-06-13 François Dumont <fdumont@gcc.gnu.org> 2018-06-13 20:27:26 +00:00
list macros.h (__glibcxx_check_valid_range_at): New. 2018-05-08 19:46:59 +00:00
macros.h 2018-06-13 François Dumont <fdumont@gcc.gnu.org> 2018-06-13 20:27:26 +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 2018-06-13 François Dumont <fdumont@gcc.gnu.org> 2018-06-13 20:27:26 +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 2018-06-13 François Dumont <fdumont@gcc.gnu.org> 2018-06-13 20:27:26 +00: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