std::ranges::zip_view<Views...>:: iterator <Const>:: operator++,--,+=,-=
From cppreference.net
|
constexpr
/*iterator*/
&
operator
++
(
)
;
|
(1) | (C++23以降) |
|
constexpr
void
operator
++
(
int
)
;
|
(2) | (C++23以降) |
|
constexpr
/*iterator*/
operator
++
(
int
)
requires /*all-forward*/ < Const, Views... > ; |
(3) | (C++23以降) |
|
constexpr
/*iterator*/
&
operator
--
(
)
requires /*all-bidirectional*/ < Const, Views... > ; |
(4) | (C++23以降) |
|
constexpr
/*iterator*/
operator
--
(
int
)
requires /*all-bidirectional*/ < Const, Views... > ; |
(5) | (C++23以降) |
|
constexpr
/*iterator*/
&
operator
+
=
(
difference_type n
)
requires /*all-random-access*/ < Const, Views... > ; |
(6) | (C++23以降) |
|
constexpr
/*iterator*/
&
operator
-
=
(
difference_type n
)
requires /*all-random-access*/ < Const, Views... > ; |
(7) | (C++23以降) |
基となるタプル様オブジェクト
current_
内の各基盤となる
is_...
イテレータをインクリメントまたはデクリメントします。
1)
次と同等
/*tuple-for-each*/
(
[
]
(
auto
&
i
)
{
++
i
;
}
, current_
)
;
return
*
this
;
2)
次と同等
++*
this
;
3)
次と同等
auto
tmp
=
*
this
;
++*
this
;
return
tmp
;
4)
次と同等
/*tuple-for-each*/
(
[
]
(
auto
&
i
)
{
--
i
;
}
, current_
)
;
return
*
this
;
5)
次と同等
auto
tmp
=
*
this
;
--*
this
;
return
tmp
;
6)
次と同等
/*tuple-for-each*/
(
[
&
]
<
class
I
>
(
I
&
i
)
{
i
+
=
iter_difference_t
<
I
>
(
x
)
;
}
, current_
)
;
return
*
this
;
7)
次と同等:
/*tuple-for-each*/
(
[
&
]
<
class
I
>
(
I
&
i
)
{
i
-
=
iter_difference_t
<
I
>
(
x
)
;
}
, current_
)
;
return
*
this
;
パラメータ
| n | - | 現在位置からの相対位置 |
戻り値
1,4,6,7)
*
this
2)
(なし)
3,5)
変更前に行われた
*
this
のコピー
例
|
このセクションは不完全です
理由: 例がありません |