* 5  Notes 
  * 6  Example 
  * 7  References 
  * 8  See also 

  
---  
  
###  [ [ edit
](/mwiki/index.php?title=cpp/ranges/chunk_by_view&action=edit&section=1 "Edit
section: Data members") ]  Data members

Member object  |  Definition   
---|---  
` _base__ ` (private)  |  The underlying [ ` view ` ](/w/cpp/ranges/view "cpp/ranges/view") of type ` V ` .   
(  exposition-only member object*  )  
` _pred__ ` (private)  |  An object of type  [ ` _movable-box_ ` ](/w/cpp/ranges/copyable_wrapper "cpp/ranges/copyable wrapper") ` _ <Pred> _ ` that wraps the predicate used to split the elements of ` _base__ ` .   
(  exposition-only member object*  )  
` _begin__ ` (private)  |  An [ _optional-like_ ](/w/cpp/ranges#Non-propagating_cache "cpp/ranges") object that caches the iterator to the first element.   
(  exposition-only member object*  )  
  
###  [ [ edit
](/mwiki/index.php?title=cpp/ranges/chunk_by_view&action=edit&section=2 "Edit
section: Member functions") ]  Member functions

[ (constructor)  ](/w/cpp/ranges/chunk_by_view/chunk_by_view "cpp/ranges/chunk by view/chunk by view") (C++23)  |  constructs a ` chunk_by_view `   
(public member function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/adaptor/dsc_constructor&action=edit)  
---|---  
[ base  ](/w/cpp/ranges/chunk_by_view/base "cpp/ranges/chunk by view/base") (C++23)  |  returns a copy of the underlying (adapted) view   
(public member function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/adaptor/dsc_base&action=edit)  
[ pred  ](/w/cpp/ranges/chunk_by_view/pred "cpp/ranges/chunk by view/pred") (C++23)  |  returns a reference to the stored predicate   
(public member function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/adaptor/dsc_pred&action=edit)  
[ begin  ](/w/cpp/ranges/chunk_by_view/begin "cpp/ranges/chunk by view/begin") (C++23)  |  returns an iterator to the beginning   
(public member function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/adaptor/dsc_begin&action=edit)  
[ end  ](/w/cpp/ranges/chunk_by_view/end "cpp/ranges/chunk by view/end") (C++23)  |  returns an iterator or a sentinel to the end   
(public member function)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/adaptor/dsc_end&action=edit)  
[ _ _find_next_ _ ](/w/cpp/ranges/chunk_by_view/helpers#find_next "cpp/ranges/chunk by view/helpers") (C++23)  |  returns an iterator to the begin of the next subrange   
(  exposition-only member function*  )  
[ _ _find_prev_ _ ](/w/cpp/ranges/chunk_by_view/helpers#find_prev "cpp/ranges/chunk by view/helpers") (C++23)  |  returns an iterator to the begin of the previous subrange   
(  exposition-only member function*  )  
  
#####  Inherited from  [ std::ranges::view_interface
](/w/cpp/ranges/view_interface "cpp/ranges/view interface")  
  
[ empty  ](/w/cpp/ranges/view_interface/empty "cpp/ranges/view interface/empty") (C++20)  |  returns whether the derived view is empty. Provided if it satisfies [ ` sized_range ` ](/w/cpp/ranges/sized_range "cpp/ranges/sized range") or [ ` forward_range ` ](/w/cpp/ranges/forward_range "cpp/ranges/forward range") .   
(public member function of ` std::ranges::view_interface<D> ` )  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/view_interface/dsc_empty&action=edit)  
[ cbegin  ](/w/cpp/ranges/view_interface/cbegin "cpp/ranges/view interface/cbegin") (C++23)  |  returns a constant iterator to the beginning of the range.   
(public member function of ` std::ranges::view_interface<D> ` )  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/ranges/view_interface/dsc_cbegin&action=edit)  
[ cend  ](/w/cpp/ranges/view_interface/cend "cpp/ranges/view interface/cend") (C++23)  |  returns a sentinel for the constant iterator of the range.   
(public member function of ` std::ranges::view_inter