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) | (since C++23) |
|
friend
constexpr
ranges::
range_difference_t
<
V
>
operator
-
(
const
/*sentinel*/
&
y,
const
/*iterator*/
<
false
>
&
x
)
|
(2) | (since C++23) |
Computes the distance between the underlying iterator of x and the underlying sentinel of y .
Let
last_ele_
denote the underlying iterator of
x
and
end_
denote the underlying sentinel of
y
.
These functions are not visible to ordinary
unqualified
or
qualified lookup
, and can only be found by
argument-dependent lookup
when
slide_view::
sentinel
is an associated class of the arguments.
Parameters
| x | - | an iterator |
| y | - | a sentinel |
Return value
The distance between the iterator and the sentinel.
Example
|
This section is incomplete
Reason: no example |