std::ranges::chunk_by_view<V,Pred>:: end
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||
|
chunk_by_view::end
|
||||
| Deduction guides | ||||
| Iterator | ||||
|
constexpr
auto
end
(
)
;
|
(C++23以降) | |
iterator
または
sentinel
を返します。これは
chunk_by_view
の終端を表します。
次と同等:
if constexpr (ranges::common_range<V>) return /*iterator*/(*this, ranges::end(base_), ranges::end(base_)); else return std::default_sentinel;
目次 |
パラメータ
(なし)
戻り値
最後の要素の次の要素を指す iterator か、終端iteratorと等価と比較されるsentinel。
注記
end()
は、基となるビューが
common_range
である場合にのみイテレータを返します:
chunk_by_view
<
V,Pred
>
は、
V
が
common_range
をモデル化するときに限り
common_range
をモデル化します。
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
先頭を指すイテレータを返す
(公開メンバ関数) |
|
|
(C++20)
|
範囲の終端を示すセンチネルを返す
(カスタマイゼーションポイントオブジェクト) |