std::ranges::join_with_view<V,Pattern>::end
From cppreference.com
< cpp | ranges | join with view
| constexpr auto end(); |
(1) | (C++23から) |
| constexpr auto end() const requires ranges::forward_range<const V> && |
(2) | (C++23から) |
join_with_view の終端イテレータ(または番兵)に等しいイテレータまたは番兵を返します。
1) ミュータブルなイテレータ/番兵、または const なイテレータ/番兵を返します。
- 以下のすべての条件が満たされる場合、イテレータを返します。
-
Vがforward_rangeおよびcommon_rangeをモデル化している。 - std::is_reference_v<
InnerRng> は true である。 -
InnerRngがforward_rangeおよびcommon_rangeをモデル化している。
-
- それ以外の場合、番兵を返します。
2) const なイテレータ/番兵を返します。
- 以下のすべての条件が満たされる場合、イテレータを返します。
- const V が
common_rangeをモデル化している。 - ranges::range_reference_t<const V> が
forward_rangeおよびcommon_rangeをモデル化している。
- const V が
- それ以外の場合、番兵を返します。
/*concatable*/ の定義については、std::ranges::concat_view を参照してください。
[編集] 戻り値
| オーバーロード | 戻り値 | |
|---|---|---|
| イテレータ | Sentinel | |
| (1) | iterator <simple-view <V> && simple-view <Pattern>> {*this, ranges::end(base_)}
|
sentinel <simple-view <V> && simple-view <Pattern>> {*this}
|
| (2) | iterator <true>{*this, ranges::end(base_)}
|
sentinel <true>{*this}
|
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| 先頭へのイテレータを返す (public メンバ関数) | |
| (C++20) |
rangeの終端を示す番兵を返す (カスタマイゼーションポイントオブジェクト) |