operator-(ranges::adjacent_transform_view::sentinel)
ja.cppreference.net より
template< bool OtherConst >
requires std::sized_sentinel_for</*inner-sentinel*/<Const>,
/*inner-iterator*/<OtherConst>>
friend constexpr
ranges::range_difference_t</*maybe-const*/<OtherConst, InnerView>>
operator-( const /*iterator*/<OtherConst>& x, const /*sentinel*/& y );
|
(1) | (C++23 から) |
template< bool OtherConst >
requires std::sized_sentinel_for</*inner-sentinel*/<Const>,
/*inner-iterator*/<OtherConst>>
friend constexpr
ranges::range_difference_t</*maybe-const*/<OtherConst, InnerView>>
operator-( const /*sentinel*/& y, const /*iterator*/<OtherConst>& x );
|
(2) | (C++23 から) |
イテレータ iterator x と 番兵 sentinel y の間の距離を計算します。
これらの関数 テンプレートは通常の非修飾名 または 修飾名検索、引数依存の名前検索 (ADL) によってのみ発見されます、ただし引数依存の名前検索 (ADL) によってのみ発見されます、ただし adjacent_transform_view::sentinel は引数の関連クラスである場合に限ります。
パラメータ
| x | - | イテレータ |
| y | - | センチネル |
戻り値
イテレータとセンチネル間の距離。
例
|
このセクションは不完全です
理由: 例がありません |