Skip to content

Commit 8c5377e

Browse files
burblebeetkoeppe
authored andcommitted
LWG3404 Finish removing subrange's conversions from pair-like
1 parent fd8fd77 commit 8c5377e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

source/ranges.tex

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,11 +1478,6 @@
14781478
@\exposconcept{convertible-to-non-slicing}@<U, tuple_element_t<0, T>> &&
14791479
@\libconcept{convertible_to}@<V, tuple_element_t<1, T>>;
14801480

1481-
template<class T>
1482-
concept @\defexposconcept{iterator-sentinel-pair}@ = // \expos
1483-
!range<T> && @\exposconcept{pair-like}@<T> &&
1484-
@\libconcept{sentinel_for}@<tuple_element_t<1, T>, tuple_element_t<0, T>>;
1485-
14861481
template<@\libconcept{input_or_output_iterator}@ I, @\libconcept{sentinel_for}@<I> S = I, subrange_kind K =
14871482
@\libconcept{sized_sentinel_for}@<S, I> ? subrange_kind::sized : subrange_kind::unsized>
14881483
requires (K == subrange_kind::sized || !@\libconcept{sized_sentinel_for}@<S, I>)
@@ -1544,13 +1539,6 @@
15441539
subrange(I, S, @\placeholdernc{make-unsigned-like-t}@<iter_difference_t<I>>) ->
15451540
subrange<I, S, subrange_kind::sized>;
15461541

1547-
template<@\exposconcept{iterator-sentinel-pair}@ P>
1548-
subrange(P) -> subrange<tuple_element_t<0, P>, tuple_element_t<1, P>>;
1549-
1550-
template<@\exposconcept{iterator-sentinel-pair}@ P>
1551-
subrange(P, @\placeholdernc{make-unsigned-like-t}@<iter_difference_t<tuple_element_t<0, P>>>) ->
1552-
subrange<tuple_element_t<0, P>, tuple_element_t<1, P>, subrange_kind::sized>;
1553-
15541542
template<borrowed_range R>
15551543
subrange(R&&) ->
15561544
subrange<iterator_t<R>, sentinel_t<R>,

0 commit comments

Comments
 (0)