std::ranges::chunk_view<V>:: iterator <Const>:: iterator
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
(C++26)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
/*iterator*/
(
)
=
default
;
|
(1) | (C++23以降) |
|
constexpr
/*iterator*/
(
/*iterator*/
<
!
Const
>
i
)
要件:
|
(2) | (C++23以降) |
|
private
:
constexpr
/*iterator*/
(
Parent
*
parent,
|
(3) | ( 説明専用* ) |
イテレータを構築します。
-
current_を ranges:: iterator_t < Base > ( ) で、 -
end_を ranges:: sentinel_t < Base > ( ) で、 -
n_を 0 で、 -
missing_を 0 で初期化する。
-
current_を std :: move ( i. current_ ) で、 -
end_を std :: move ( i. end_ ) で、 -
n_を i. n_ で、 -
missing_を i. missing_ で初期化する。
-
current_を current で、 -
end_を ranges:: end ( parent - > base_ ) で、 -
n_を parent - > n_ で、 -
missing_を missing で初期化します。
パラメータ
| i | - | an /*iterator*/ < false > |
| parent | - |
owningする
chunk_view
へのポインタ
|
| current | - | 現在のチャンクの先頭を指すイテレータ |
| missing | - |
期待されるサイズ(
n_
)と現在のチャンクの実際のサイズとの差分
|
例
|
このセクションは不完全です
理由: 例がありません |