std::ranges::chunk_view<V>::outer-iterator::operator++
From cppreference.com
< cpp | ranges | chunk view | outer iterator
C++
Ranges library
|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Helper items | |||||||||||||||||
|
std::ranges::chunk_view
Member functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
constexpr
/*outer-iterator*/
& operator++
(
)
;
|
(1) | (since C++23) |
constexpr
void operator++
(
int
)
;
|
(2) | (since C++23) |
Increments the iterator.
Let parent_
be the underlying pointer to enclosing chunk_view
.
1) Equivalent to:
Before invocation of this operator the expression
*this == std::default_sentinel
must be false
ranges::advance(*parent_->current_, parent_->remainder_, ranges::end(parent_->base_)); parent_->remainder_ = parent_->n_; return *this;
2) Equivalent to ++*this.
Parameters
(none)
Return value
1) *this
2) (none)
Example
This section is incomplete Reason: no example |
See also
(C++23)
|
calculates the number of chunks remained (function) |