|
877 | 877 | count(I first, S last, const T& value, Proj proj = {});
|
878 | 878 | template<InputRange R, class T, class Proj = identity>
|
879 | 879 | requires IndirectRelation<ranges::equal_to, projected<iterator_t<R>, Proj>, const T*>
|
880 |
| - constexpr iter_difference_t<iterator_t<R>> |
| 880 | + constexpr range_difference_t<R> |
881 | 881 | count(R&& r, const T& value, Proj proj = {});
|
882 | 882 | template<InputIterator I, Sentinel<I> S, class Proj = identity,
|
883 | 883 | IndirectUnaryPredicate<projected<I, Proj>> Pred>
|
884 | 884 | constexpr iter_difference_t<I>
|
885 | 885 | count_if(I first, S last, Pred pred, Proj proj = {});
|
886 | 886 | template<InputRange R, class Proj = identity,
|
887 | 887 | IndirectUnaryPredicate<projected<iterator_t<R>, Proj>> Pred>
|
888 |
| - constexpr iter_difference_t<iterator_t<R>> |
| 888 | + constexpr range_difference_t<R> |
889 | 889 | count_if(R&& r, Pred pred, Proj proj = {});
|
890 | 890 | }
|
891 | 891 |
|
|
1116 | 1116 | class Proj = identity>
|
1117 | 1117 | requires IndirectlyComparable<iterator_t<R>, const T*, Pred, Proj>
|
1118 | 1118 | constexpr safe_subrange_t<R>
|
1119 |
| - search_n(R&& r, iter_difference_t<iterator_t<R>> count, |
| 1119 | + search_n(R&& r, range_difference_t<R> count, |
1120 | 1120 | const T& value, Pred pred = {}, Proj proj = {});
|
1121 | 1121 | }
|
1122 | 1122 |
|
|
1663 | 1663 | IndirectRelation<projected<iterator_t<R>, Proj>> C = ranges::equal_to>
|
1664 | 1664 | requires IndirectlyCopyable<iterator_t<R>, O> &&
|
1665 | 1665 | (ForwardIterator<iterator_t<R>> ||
|
1666 |
| - (InputIterator<O> && Same<iter_value_t<iterator_t<R>>, iter_value_t<O>>) || |
| 1666 | + (InputIterator<O> && Same<range_value_t<R>, iter_value_t<O>>) || |
1667 | 1667 | IndirectlyCopyableStorable<iterator_t<R>, O>)
|
1668 | 1668 | constexpr unique_copy_result<safe_iterator_t<R>, O>
|
1669 | 1669 | unique_copy(R&& r, O result, C comp = {}, Proj proj = {});
|
|
2640 | 2640 | constexpr T min(initializer_list<T> r, Comp comp = {}, Proj proj = {});
|
2641 | 2641 | template<InputRange R, class Proj = identity,
|
2642 | 2642 | IndirectStrictWeakOrder<projected<iterator_t<R>, Proj>> Comp = ranges::less>
|
2643 |
| - requires IndirectlyCopyableStorable<iterator_t<R>, iter_value_t<iterator_t<R>>*> |
2644 |
| - constexpr iter_value_t<iterator_t<R>> |
| 2643 | + requires IndirectlyCopyableStorable<iterator_t<R>, range_value_t<R>*> |
| 2644 | + constexpr range_value_t<R> |
2645 | 2645 | min(R&& r, Comp comp = {}, Proj proj = {});
|
2646 | 2646 | }
|
2647 | 2647 |
|
|
2662 | 2662 | constexpr T max(initializer_list<T> r, Comp comp = {}, Proj proj = {});
|
2663 | 2663 | template<InputRange R, class Proj = identity,
|
2664 | 2664 | IndirectStrictWeakOrder<projected<iterator_t<R>, Proj>> Comp = ranges::less>
|
2665 |
| - requires IndirectlyCopyableStorable<iterator_t<R>, iter_value_t<iterator_t<R>>*> |
2666 |
| - constexpr iter_value_t<iterator_t<R>> |
| 2665 | + requires IndirectlyCopyableStorable<iterator_t<R>, range_value_t<R>*> |
| 2666 | + constexpr range_value_t<R> |
2667 | 2667 | max(R&& r, Comp comp = {}, Proj proj = {});
|
2668 | 2668 | }
|
2669 | 2669 |
|
|
2704 | 2704 | minmax(initializer_list<T> r, Comp comp = {}, Proj proj = {});
|
2705 | 2705 | template<InputRange R, class Proj = identity,
|
2706 | 2706 | IndirectStrictWeakOrder<projected<iterator_t<R>, Proj>> Comp = ranges::less>
|
2707 |
| - requires IndirectlyCopyableStorable<iterator_t<R>, iter_value_t<iterator_t<R>>*> |
2708 |
| - constexpr minmax_result<iter_value_t<iterator_t<R>>> |
| 2707 | + requires IndirectlyCopyableStorable<iterator_t<R>, range_value_t<R>*> |
| 2708 | + constexpr minmax_result<range_value_t<R>> |
2709 | 2709 | minmax(R&& r, Comp comp = {}, Proj proj = {});
|
2710 | 2710 | }
|
2711 | 2711 |
|
|
3512 | 3512 | ranges::count(I first, S last, const T& value, Proj proj = {});
|
3513 | 3513 | template<InputRange R, class T, class Proj = identity>
|
3514 | 3514 | requires IndirectRelation<ranges::equal_to, projected<iterator_t<R>, Proj>, const T*>
|
3515 |
| - constexpr iter_difference_t<iterator_t<R>> |
| 3515 | + constexpr range_difference_t<R> |
3516 | 3516 | ranges::count(R&& r, const T& value, Proj proj = {});
|
3517 | 3517 | template<InputIterator I, Sentinel<I> S, class Proj = identity,
|
3518 | 3518 | IndirectUnaryPredicate<projected<I, Proj>> Pred>
|
3519 | 3519 | constexpr iter_difference_t<I>
|
3520 | 3520 | ranges::count_if(I first, S last, Pred pred, Proj proj = {});
|
3521 | 3521 | template<InputRange R, class Proj = identity,
|
3522 | 3522 | IndirectUnaryPredicate<projected<iterator_t<R>, Proj>> Pred>
|
3523 |
| - constexpr iter_difference_t<iterator_t<R>> |
| 3523 | + constexpr range_difference_t<R> |
3524 | 3524 | ranges::count_if(R&& r, Pred pred, Proj proj = {});
|
3525 | 3525 | \end{itemdecl}
|
3526 | 3526 |
|
|
4013 | 4013 | class Proj = identity>
|
4014 | 4014 | requires IndirectlyComparable<iterator_t<R>, const T*, Pred, Proj>
|
4015 | 4015 | constexpr safe_subrange_t<R>
|
4016 |
| - ranges::search_n(R&& r, iter_difference_t<iterator_t<R>> count, |
| 4016 | + ranges::search_n(R&& r, range_difference_t<R> count, |
4017 | 4017 | const T& value, Pred pred = {}, Proj proj = {});
|
4018 | 4018 | \end{itemdecl}
|
4019 | 4019 |
|
|
5234 | 5234 | IndirectRelation<projected<iterator_t<R>, Proj>> C = ranges::equal_to>
|
5235 | 5235 | requires IndirectlyCopyable<iterator_t<R>, O> &&
|
5236 | 5236 | (ForwardIterator<iterator_t<R>> ||
|
5237 |
| - (InputIterator<O> && Same<iter_value_t<iterator_t<R>>, iter_value_t<O>>) || |
| 5237 | + (InputIterator<O> && Same<range_value_t<R>, iter_value_t<O>>) || |
5238 | 5238 | IndirectlyCopyableStorable<iterator_t<R>, O>)
|
5239 | 5239 | constexpr ranges::unique_copy_result<safe_iterator_t<R>, O>
|
5240 | 5240 | ranges::unique_copy(R&& r, O result, C comp = {}, Proj proj = {});
|
|
7913 | 7913 | constexpr T ranges::min(initializer_list<T> r, Comp comp = {}, Proj proj = {});
|
7914 | 7914 | template<InputRange R, class Proj = identity,
|
7915 | 7915 | IndirectStrictWeakOrder<projected<iterator_t<R>, Proj>> Comp = ranges::less>
|
7916 |
| - requires IndirectlyCopyableStorable<iterator_t<R>, iter_value_t<iterator_t<R>>*> |
7917 |
| - constexpr iter_value_t<iterator_t<R>> |
| 7916 | + requires IndirectlyCopyableStorable<iterator_t<R>, range_value_t<R>*> |
| 7917 | + constexpr range_value_t<R> |
7918 | 7918 | ranges::min(R&& r, Comp comp = {}, Proj proj = {});
|
7919 | 7919 | \end{itemdecl}
|
7920 | 7920 |
|
|
7990 | 7990 | constexpr T ranges::max(initializer_list<T> r, Comp comp = {}, Proj proj = {});
|
7991 | 7991 | template<InputRange R, class Proj = identity,
|
7992 | 7992 | IndirectStrictWeakOrder<projected<iterator_t<R>, Proj>> Comp = ranges::less>
|
7993 |
| - requires IndirectlyCopyableStorable<iterator_t<R>, iter_value_t<iterator_t<R>>*> |
7994 |
| - constexpr iter_value_t<iterator_t<R>> |
| 7993 | + requires IndirectlyCopyableStorable<iterator_t<R>, range_value_t<R>*> |
| 7994 | + constexpr range_value_t<R> |
7995 | 7995 | ranges::max(R&& r, Comp comp = {}, Proj proj = {});
|
7996 | 7996 | \end{itemdecl}
|
7997 | 7997 |
|
|
8070 | 8070 | ranges::minmax(initializer_list<T> r, Comp comp = {}, Proj proj = {});
|
8071 | 8071 | template<InputRange R, class Proj = identity,
|
8072 | 8072 | IndirectStrictWeakOrder<projected<iterator_t<R>, Proj>> Comp = ranges::less>
|
8073 |
| - requires IndirectlyCopyableStorable<iterator_t<R>, iter_value_t<iterator_t<R>>*> |
8074 |
| - constexpr ranges::minmax_result<iter_value_t<iterator_t<R>>> |
| 8073 | + requires IndirectlyCopyableStorable<iterator_t<R>, range_value_t<R>*> |
| 8074 | + constexpr ranges::minmax_result<range_value_t<R>> |
8075 | 8075 | ranges::minmax(R&& r, Comp comp = {}, Proj proj = {});
|
8076 | 8076 | \end{itemdecl}
|
8077 | 8077 |
|
|
0 commit comments