operator- (ranges::slide_view:: sentinel )
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||
|
(C++26)
|
||||
| Deduction guides | ||||
| Iterator | ||||
| Member functions | ||||
| Non-member functions | ||||
| Sentinel | ||||
| Member functions | ||||
| Non-member functions | ||||
|
operator-
(slide_view::
iterator
,slide_view::
sentinel
)
|
|
friend
constexpr
ranges::
range_difference_t
<
V
>
operator
-
(
const
/*iterator*/
<
false
>
&
x,
const
/*sentinel*/
&
y
)
|
(1) | (C++23以降) |
|
friend
constexpr
ranges::
range_difference_t
<
V
>
operator
-
(
const
/*sentinel*/
&
y,
const
/*iterator*/
<
false
>
&
x
)
|
(2) | (C++23以降) |
x の基となる iterator と y の基となる sentinel 間の距離を計算します。
last_ele_
を
x
の基盤となるイテレータとし、
end_
を
y
の基盤となるセンチネルとする。
これらの関数は通常の
unqualified lookup
または
qualified lookup
では可視化されず、
argument-dependent lookup
によってのみ発見され、その際
slide_view::
sentinel
が引数の関連クラスである場合に限られます。
パラメータ
| x | - | an iterator |
| y | - | a sentinel |
戻り値
イテレータとセンチネル間の距離。
例
|
このセクションは不完全です
理由: 例がありません |