Namespaces
Variants

std::ranges::join_with_view<V,Pattern>::end

ja.cppreference.net より
 
 
Rangesライブラリ
範囲アダプタ
(C++23から)(C++23から)
(C++23から)
(C++23から)(C++23から)
(C++23から)(C++23から)
(C++23から)(C++23から)
(C++23から)(C++23から)

 
 
constexpr auto end();
(1) (C++23から)
constexpr auto end() const
    requires ranges::forward_range<const V> &&
             ranges::forward_range<const Pattern> &&
             std::is_reference_v<ranges::range_reference_t<const V>>> &&
             ranges::input_range<ranges::range_reference_t<const V>> &&
             /*concatable*/<ranges::range_reference_t<const V>,
                            const Pattern>;
(2) (C++23から)

iterator または sentinel を返します。これは join_with_view の終端イテレータと等しいと比較されます。

1) 変更可能なイテレータ/番兵、または const イテレータ/番兵を返します。
  • 以下の条件がすべて満たされる場合、イテレータを返します:
  • そうでない場合、番兵を返します。
2) const イテレータ/番兵を返します。
  • 以下の条件がすべて満たされる場合、イテレータを返します:
  • そうでない場合、番兵を返します。
/*concatable*/ の定義については、std::ranges::concat_view を参照してください。

戻り値

オーバーロード 戻り値
イテレータ センチネル
(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 }

例

関連項目

先頭を指すイテレータを返す
(公開メンバ関数)
範囲の終端を示すセンチネルを返す
(カスタマイゼーションポイントオブジェクト)