On this page
std::ranges::stride_view<V>::iterator<Const>::iterator
|
(1) | (since C++23) |
|
(2) | (since C++23) |
|
(3) | (exposition only*) |
Constructs an iterator.
1) Default constructor. Value-initializes:current_withranges::iterator_t<Base>(),end_withranges::sentinel_t<Base>(),stride_with0,missing_with0.
/*iterator*/<false> to /*iterator*/<true>. Initializes:
current_withstd::move(i.current_),end_withstd::move(i.end_),stride_withi.stride_,missing_withi.missing_.
stride_view::begin and stride_view::end. This constructor is not accessible to users. Initializes
current_withstd::move(current),end_withranges::end(parent->base_),stride_withparent->stride_,missing_withmissing.
Parameters
| i | - | an /*iterator*/<false> |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/stride_view/iterator/iterator