operator- (ranges::adjacent_view:: sentinel )
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||
|
(C++26)
|
||||
| Iterator | ||||
| Member functions | ||||
| Non-member functions | ||||
| Sentinel | ||||
| Member functions | ||||
| Non-member functions | ||||
|
operator-
(adjacent_view::
iterator
,adjacent_view::
sentinel
)
|
|
template
<
bool
OtherConst
>
requires
std::
sized_sentinel_for
<
ranges::
sentinel_t
<
Base
>
,
|
(1) | (C++23以降) |
|
template
<
bool
OtherConst
>
requires
std::
sized_sentinel_for
<
ranges::
sentinel_t
<
Base
>
,
|
(2) | (C++23以降) |
x の基盤となるイテレータと y の基盤となるセンチネル間の距離を計算します。
current_
を
x
内の基盤となるイテレータ配列とし、
end_
を
y
内の基盤となる番兵とします。
これらの関数テンプレートは通常の
unqualified lookup
や
qualified lookup
では可視化されず、
adjacent_view::
sentinel
が引数の関連クラスである場合にのみ
argument-dependent lookup
によって発見されます。
目次 |
パラメータ
| x | - | iterator |
| y | - | sentinel |
戻り値
x と y の間の距離。
例
|
このセクションは不完全です
理由: 例がありません |