std::ranges::chunk_by_view<V,Pred>:: iterator :: operator++,--
|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Helper items | |||||||||||||||||
|
|
Member functions | ||||
Deduction guides | ||||
Iterator | ||||
chunk_by_view::
iterator
::operator++
chunk_by_view:: iterator ::operator++ (int) chunk_by_view:: iterator ::operator-- chunk_by_view:: iterator ::operator-- (int) |
||||
constexpr
/*iterator*/
&
operator
++
(
)
;
|
(1) | (since C++23) |
constexpr
/*iterator*/
operator
++
(
int
)
;
|
(2) | (since C++23) |
constexpr
/*iterator*/
&
operator
--
(
)
requires
ranges::
bidirectional_range
<
V
>
;
|
(3) | (since C++23) |
constexpr
/*iterator*/
operator
--
(
int
)
requires
ranges::
bidirectional_range
<
V
>
;
|
(4) | (since C++23) |
Increments or decrements the iterator .
Let
parent_
,
current_
, and
next_
be the appropriate underlying (exposition-only) data-members of
iterator
.
Let find-next and find-prev be appropriate (exposition-only) member functions of ranges::chunk_by_view .
current_ = next_; next_ = parent_->/*find-next*/(current_); return *this;
next_ = current_; current_ = parent_->/*find-prev*/(next_); return *this;
Parameters
(none)