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