operator- (ranges::transform_view:: sentinel )
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||
|
(C++26)
|
||||
| Deduction guides | ||||
| Iterator | ||||
| Sentinel | ||||
|
operator-
(transform_view::
iterator
,transform_view::
sentinel
)
|
|
friend
constexpr
ranges::
range_difference_t
<
Base
>
operator
-
(
const
/*iterator*/
<
Const
>
&
x,
const
/*sentinel*/
&
y
)
|
(1) | (desde C++20) |
|
friend
constexpr
ranges::
range_difference_t
<
Base
>
operator
-
(
const
/*sentinel*/
&
y,
const
/*iterator*/
<
Const
>
&
x
)
|
(2) | (desde C++20) |
Calcula la distancia entre el iterador subyacente de x y el centinela subyacente de y .
Estas funciones no son visibles para la búsqueda
no calificada
o
calificada
ordinaria, y solo pueden ser encontradas mediante
argument-dependent lookup
cuando
transform_view::
sentinel
<Const>
es una clase asociada de los argumentos.
Parámetros
| x | - | un iterator |
| y | - | un sentinel |
Valor de retorno
Sea
current_
el iterador subyacente,
end_
el centinela subyacente.