@@ -82,13 +82,13 @@ class repeat_view : public view_interface<repeat_view<_Tp, _Bound>> {
8282 requires copy_constructible<_Tp>
8383 : __value_(in_place, __value), __bound_(__bound_sentinel) {
8484 if constexpr (!same_as<_Bound, unreachable_sentinel_t >)
85- _LIBCPP_ASSERT (__bound_ >= 0 , " The value of bound must be greater than or equal to 0" );
85+ _LIBCPP_ASSERT_UNCATEGORIZED (__bound_ >= 0 , " The value of bound must be greater than or equal to 0" );
8686 }
8787
8888 _LIBCPP_HIDE_FROM_ABI constexpr explicit repeat_view (_Tp&& __value, _Bound __bound_sentinel = _Bound())
8989 : __value_(in_place, std::move(__value)), __bound_(__bound_sentinel) {
9090 if constexpr (!same_as<_Bound, unreachable_sentinel_t >)
91- _LIBCPP_ASSERT (__bound_ >= 0 , " The value of bound must be greater than or equal to 0" );
91+ _LIBCPP_ASSERT_UNCATEGORIZED (__bound_ >= 0 , " The value of bound must be greater than or equal to 0" );
9292 }
9393
9494 template <class ... _TpArgs, class ... _BoundArgs>
@@ -98,7 +98,7 @@ class repeat_view : public view_interface<repeat_view<_Tp, _Bound>> {
9898 : __value_(in_place, std::make_from_tuple<_Tp>(std::move(__value_args))),
9999 __bound_(std::make_from_tuple<_Bound>(std::move(__bound_args))) {
100100 if constexpr (!same_as<_Bound, unreachable_sentinel_t >)
101- _LIBCPP_ASSERT (
101+ _LIBCPP_ASSERT_UNCATEGORIZED (
102102 __bound_ >= 0 , " The behavior is undefined if Bound is not unreachable_sentinel_t and bound is negative" );
103103 }
104104
@@ -161,7 +161,7 @@ class repeat_view<_Tp, _Bound>::__iterator {
161161
162162 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator --() {
163163 if constexpr (!same_as<_Bound, unreachable_sentinel_t >)
164- _LIBCPP_ASSERT (__current_ > 0 , " The value of bound must be greater than or equal to 0" );
164+ _LIBCPP_ASSERT_UNCATEGORIZED (__current_ > 0 , " The value of bound must be greater than or equal to 0" );
165165 --__current_;
166166 return *this ;
167167 }
@@ -174,14 +174,14 @@ class repeat_view<_Tp, _Bound>::__iterator {
174174
175175 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator +=(difference_type __n) {
176176 if constexpr (!same_as<_Bound, unreachable_sentinel_t >)
177- _LIBCPP_ASSERT (__current_ + __n >= 0 , " The value of bound must be greater than or equal to 0" );
177+ _LIBCPP_ASSERT_UNCATEGORIZED (__current_ + __n >= 0 , " The value of bound must be greater than or equal to 0" );
178178 __current_ += __n;
179179 return *this ;
180180 }
181181
182182 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator -=(difference_type __n) {
183183 if constexpr (!same_as<_Bound, unreachable_sentinel_t >)
184- _LIBCPP_ASSERT (__current_ - __n >= 0 , " The value of bound must be greater than or equal to 0" );
184+ _LIBCPP_ASSERT_UNCATEGORIZED (__current_ - __n >= 0 , " The value of bound must be greater than or equal to 0" );
185185 __current_ -= __n;
186186 return *this ;
187187 }
0 commit comments