constexpr /*inner-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.
++*parent_->current_;
if (*parent_->current_ == ranges::end(parent_->base_))
parent_->remainder_ = 0;
else
--parent_->remainder_;
return *this;*this == std::default_sentinel must be false.++*this.(none)
*this
|
(C++23) | calculates the number of chunks remained (function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/chunk_view/inner_iterator/operator_inc