Lines Matching refs:chunk_by_view
57 class _LIBCPP_ABI_LLVM18_NO_UNIQUE_ADDRESS chunk_by_view : public view_interface<chunk_by_view<_View, _Pred>> {
70 __pred_.__has_value(), "Trying to call __find_next() on a chunk_by_view that does not have a valid predicate.");
85 __pred_.__has_value(), "Trying to call __find_prev() on a chunk_by_view that does not have a valid predicate.");
96 _LIBCPP_HIDE_FROM_ABI chunk_by_view()
100 _LIBCPP_HIDE_FROM_ABI constexpr explicit chunk_by_view(_View __base, _Pred __pred)
116 __pred_.__has_value(), "Trying to call begin() on a chunk_by_view that does not have a valid predicate.");
135 chunk_by_view(_Range&&, _Pred) -> chunk_by_view<views::all_t<_Range>, _Pred>;
139 class chunk_by_view<_View, _Pred>::__iterator {
140 friend chunk_by_view;
142 chunk_by_view* __parent_ = nullptr;
147 chunk_by_view& __parent, iterator_t<_View> __current, iterator_t<_View> __next)
161 _LIBCPP_ASSERT_PEDANTIC(__current_ != __next_, "Trying to dereference past-the-end chunk_by_view iterator.");
167 _LIBCPP_ASSERT_PEDANTIC(__current_ != __next_, "Trying to increment past end chunk_by_view iterator.");
209 noexcept(noexcept(/**/ chunk_by_view(std::forward<_Range>(__range), std::forward<_Pred>(__pred))))
210 -> decltype(/*--*/ chunk_by_view(std::forward<_Range>(__range), std::forward<_Pred>(__pred))) {
211 return /*-------------*/ chunk_by_view(std::forward<_Range>(__range), std::forward<_Pred>(__pred));