std::ranges::concat_view<Views...>:: iterator <Const>:: operator++,--,+=,-=
|
constexpr
/*iterator*/
&
operator
++
(
)
;
|
(1) | (начиная с C++26) |
|
constexpr
void
operator
++
(
int
)
;
|
(2) | (начиная с C++26) |
|
constexpr
/*iterator*/
operator
++
(
int
)
requires /*all-forward*/ < Const, Views... > ; |
(3) | (начиная с C++26) |
|
constexpr
/*iterator*/
&
operator
--
(
)
requires /*concat-is-bidirectional*/ < Const, Views... > ; |
(4) | (начиная с C++26) |
|
constexpr
/*iterator*/
operator
--
(
int
)
requires /*concat-is-bidirectional*/ < Const, Views... > ; |
(5) | (начиная с C++26) |
|
constexpr
/*iterator*/
&
operator
+
=
(
difference_type n
)
requires /*concat-is-random-access*/ < Const, Views... > ; |
(6) | (начиная с C++26) |
|
constexpr
/*iterator*/
&
operator
-
=
(
difference_type n
)
requires /*concat-is-random-access*/ < Const, Views... > ; |
(7) | (начиная с C++26) |
Увеличивает или уменьшает итератор .
| Перегрузка |
Эквивалентно
(пусть I будет
it_
.
index
(
)
)
|
|---|---|
| (1) |
++
get-iter
<
I
>
(
)
;
satisfy
<
I
>
(
)
;
return
*
this
;
|
| (2) | ++* this ; |
| (3) | auto tmp = * this ; ++* this ; return tmp ; |
| (4) |
prev
<
I
>
(
)
;
return
*
this
;
|
| (5) | auto tmp = * this ; --* this ; return tmp ; |
| (6) |
auto
offset
=
|
| (7) | * this + = - n ; return * this ; |
Если
it_
.
valueless_by_exception
(
)
равно
true
, поведение не определено.
Параметры
| n | - | позиция относительно текущего местоположения |
Возвращаемое значение
Как описано выше.
Пример
|
Этот раздел не завершён
Причина: отсутствует пример |