@@ -87,23 +87,23 @@ class stride_view : public view_interface<stride_view<_View>> {
8787 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto begin ()
8888 requires(!__simple_view<_View>)
8989 {
90- return __iterator<false >(this , ranges::begin (__base_), 0 );
90+ return __iterator</* _Const= */ false >(this , ranges::begin (__base_), 0 );
9191 }
9292
9393 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto begin () const
9494 requires range<const _View>
9595 {
96- return __iterator<true >(this , ranges::begin (__base_), 0 );
96+ return __iterator</* _Const= */ true >(this , ranges::begin (__base_), 0 );
9797 }
9898
9999 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto end ()
100100 requires(!__simple_view<_View>)
101101 {
102102 if constexpr (common_range<_View> && sized_range<_View> && forward_range<_View>) {
103103 auto __missing = (__stride_ - ranges::distance (__base_) % __stride_) % __stride_;
104- return __iterator<false >(this , ranges::end (__base_), __missing);
104+ return __iterator</* _Const= */ false >(this , ranges::end (__base_), __missing);
105105 } else if constexpr (common_range<_View> && !bidirectional_range<_View>) {
106- return __iterator<false >(this , ranges::end (__base_), 0 );
106+ return __iterator</* _Const= */ false >(this , ranges::end (__base_), 0 );
107107 } else {
108108 return default_sentinel;
109109 }
@@ -114,9 +114,9 @@ class stride_view : public view_interface<stride_view<_View>> {
114114 {
115115 if constexpr (common_range<const _View> && sized_range<const _View> && forward_range<const _View>) {
116116 auto __missing = (__stride_ - ranges::distance (__base_) % __stride_) % __stride_;
117- return __iterator<true >(this , ranges::end (__base_), __missing);
117+ return __iterator</* _Const= */ true >(this , ranges::end (__base_), __missing);
118118 } else if constexpr (common_range<_View> && !bidirectional_range<_View>) {
119- return __iterator<true >(this , ranges::end (__base_), 0 );
119+ return __iterator</* _Const= */ true >(this , ranges::end (__base_), 0 );
120120 } else {
121121 return default_sentinel;
122122 }
0 commit comments