On this page
std::ranges::chunk_by_view<V,Pred>::iterator::iterator
|
(1) | (since C++23) |
|
(2) | (exposition only*) |
Construct an iterator.
1) Default constructor. Value-initializes the underlying data-members as follows:parent_with nullptr,current_withranges::iterator_t<V>(),next_withranges::iterator_t<V>().
chunk_by_view::begin and chunk_by_view::end. This constructor is not accessible to users. Initializes:
parent_withstd::addressof(parent),current_withcurrent,next_withnext.
Parameters
| parent | - | a parent object |
| current, next | - | iterators |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/chunk_by_view/iterator/iterator