Skip to content

Commit 5da69c9

Browse files
authored
[algorithm.syn,alg.min.max] Fix indexing of indirectly_copyable_storable (#5195)
1 parent b34b337 commit 5da69c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/algorithms.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2651,7 +2651,7 @@
26512651
constexpr T min(initializer_list<T> r, Comp comp = {}, Proj proj = {});
26522652
template<@\libconcept{input_range}@ R, class Proj = identity,
26532653
@\libconcept{indirect_strict_weak_order}@<projected<iterator_t<R>, Proj>> Comp = ranges::less>
2654-
requires @\libconcept{indirectly_copyable}@_storable<iterator_t<R>, range_value_t<R>*>
2654+
requires @\libconcept{indirectly_copyable_storable}@<iterator_t<R>, range_value_t<R>*>
26552655
constexpr range_value_t<R>
26562656
min(R&& r, Comp comp = {}, Proj proj = {});
26572657
}
@@ -2673,7 +2673,7 @@
26732673
constexpr T max(initializer_list<T> r, Comp comp = {}, Proj proj = {});
26742674
template<@\libconcept{input_range}@ R, class Proj = identity,
26752675
@\libconcept{indirect_strict_weak_order}@<projected<iterator_t<R>, Proj>> Comp = ranges::less>
2676-
requires @\libconcept{indirectly_copyable}@_storable<iterator_t<R>, range_value_t<R>*>
2676+
requires @\libconcept{indirectly_copyable_storable}@<iterator_t<R>, range_value_t<R>*>
26772677
constexpr range_value_t<R>
26782678
max(R&& r, Comp comp = {}, Proj proj = {});
26792679
}
@@ -2700,7 +2700,7 @@
27002700
minmax(initializer_list<T> r, Comp comp = {}, Proj proj = {});
27012701
template<@\libconcept{input_range}@ R, class Proj = identity,
27022702
@\libconcept{indirect_strict_weak_order}@<projected<iterator_t<R>, Proj>> Comp = ranges::less>
2703-
requires @\libconcept{indirectly_copyable}@_storable<iterator_t<R>, range_value_t<R>*>
2703+
requires @\libconcept{indirectly_copyable_storable}@<iterator_t<R>, range_value_t<R>*>
27042704
constexpr minmax_result<range_value_t<R>>
27052705
minmax(R&& r, Comp comp = {}, Proj proj = {});
27062706
}
@@ -8264,7 +8264,7 @@
82648264
constexpr T ranges::min(initializer_list<T> r, Comp comp = {}, Proj proj = {});
82658265
template<@\libconcept{input_range}@ R, class Proj = identity,
82668266
@\libconcept{indirect_strict_weak_order}@<projected<iterator_t<R>, Proj>> Comp = ranges::less>
8267-
requires @\libconcept{indirectly_copyable}@_storable<iterator_t<R>, range_value_t<R>*>
8267+
requires @\libconcept{indirectly_copyable_storable}@<iterator_t<R>, range_value_t<R>*>
82688268
constexpr range_value_t<R>
82698269
ranges::min(R&& r, Comp comp = {}, Proj proj = {});
82708270
\end{itemdecl}

0 commit comments

Comments
 (0)