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