gcc/libstdc++-v3/include/debug
François Dumont 97d5766531 stl_algo.h (merge): Fix documentation.
2019-09-28  François Dumont  <fdumont@gcc.gnu.org>

	* include/bits/stl_algo.h (merge): Fix documentation.
	* include/debug/functions.h (__check_sorted_aux): Add C++20 constexpr.
	(__check_sorted): Likewise and remove nested irreflexive check.
	(__check_sorted_set_aux, __check_sorted_set): Add C++20 constexpr.
	(__check_partitioned_lower, __check_partitioned_upper): Likewise.
	(_Irreflexive_checker::_S_is_valid): Likewise.
	(__is_irreflexive, __is_irreflexive_pred): Likewise.
	* include/debug/helper_functions.h (__get_distance): Add constexpr.
	(__valid_range_aux): Add C++20 constexpr.
	(__valid_range(_Iter, _Iter, _Distance_traits<_Iter>::__type&)):
	Likewise and add std::is_constant_evaluated check.
	(__valid_range_aux(_Iter, _Iter, std::input_iterator_tag)): New.
	(__valid_range_aux(_Iter, _Iter, std::random_accss_iterator_tag)): New.
	(__valid_range_aux(_Integral, _Integral, std::__true_type)): New,
	use latter.
	(__valid_range(_Iter, _Iter)): Adapt to use latter, add constexpr and
	__builtin_is_contant_evaludated check..
	(__can_advance, __base): Add constexpr.
	* include/debug/macros.h [_GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED]
	(_GLIBCXX_DEBUG_VERIFY_COND_AT): New.
	(__glibcxx_check_sorted): Use __glibcxx_check_irreflexive.
	(__glibcxx_check_sorted_pred): Use __glibcxx_check_irreflexive_pred.
	* testsuite/25_algorithms/binary_search/constexpr.cc: Use irreflexive
	std::less.
	* testsuite/25_algorithms/is_sorted/constexpr.cc: Likewise.
	* testsuite/25_algorithms/merge/constexpr.cc: Fix order in camm. Fix
	lambda to be irreflexive.

From-SVN: r276260
2019-09-28 21:11:55 +00:00
..
array Define std::to_array for Debug Mode 2019-09-26 17:08:44 +01:00
assertions.h Update copyright years. 2019-01-01 13:31:55 +01:00
bitset Update copyright years. 2019-01-01 13:31:55 +01:00
debug.h Update copyright years. 2019-01-01 13:31:55 +01:00
deque Update copyright years. 2019-01-01 13:31:55 +01:00
formatter.h Update copyright years. 2019-01-01 13:31:55 +01:00
forward_list PR libstdc++/88607 replace or remove unnecessary UTF-8 characters 2019-01-03 20:38:11 +00:00
functions.h stl_algo.h (merge): Fix documentation. 2019-09-28 21:11:55 +00:00
helper_functions.h stl_algo.h (merge): Fix documentation. 2019-09-28 21:11:55 +00:00
list Update copyright years. 2019-01-01 13:31:55 +01:00
macros.h stl_algo.h (merge): Fix documentation. 2019-09-28 21:11:55 +00:00
map Update copyright years. 2019-01-01 13:31:55 +01:00
map.h re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) 2019-03-08 05:53:09 +00:00
multimap.h re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) 2019-03-08 05:53:09 +00:00
multiset.h re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) 2019-03-08 05:53:09 +00:00
safe_base.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_container.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_iterator.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_iterator.tcc Update copyright years. 2019-01-01 13:31:55 +01:00
safe_local_iterator.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_local_iterator.tcc Update copyright years. 2019-01-01 13:31:55 +01:00
safe_sequence.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_sequence.tcc Update copyright years. 2019-01-01 13:31:55 +01:00
safe_unordered_base.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_unordered_container.h Update copyright years. 2019-01-01 13:31:55 +01:00
safe_unordered_container.tcc Update copyright years. 2019-01-01 13:31:55 +01:00
set Update copyright years. 2019-01-01 13:31:55 +01:00
set.h re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) 2019-03-08 05:53:09 +00:00
stl_iterator.h Update copyright years. 2019-01-01 13:31:55 +01:00
string Update copyright years. 2019-01-01 13:31:55 +01:00
unordered_map re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) 2019-03-08 05:53:09 +00:00
unordered_set re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) 2019-03-08 05:53:09 +00:00
vector PR libstdc++/87431 re-adjust never-valueless optimizations 2019-04-05 17:56:09 +01:00