Namespaces
Variants

std::ranges::adjacent_view<V,N>:: sentinel <Const>:: sentinel

From cppreference.net
Ranges library
Range adaptors
/*sentinel*/ ( ) = default ;
(1) (desde C++23)
constexpr /*sentinel*/ ( /*sentinel*/ < ! Const > i )

requiere Const &&

std:: convertible_to < ranges:: sentinel_t < V > , ranges:: sentinel_t < Base >> ;
(2) (desde C++23)

Construye un centinela.

1) Constructor por defecto. Inicializa por valor el centinela subyacente (denotado como end_ ) con ranges:: sentinel_t < Base > ( ) .
2) Conversión de /*sentinel*/ < false > a /*sentinel*/ < true > . Construye por movimiento el sentinela subyacente end_ con el miembro correspondiente de i .

Este tipo también tiene un constructor privado que es utilizado por adjacent_view::end . Este constructor no es accesible para los usuarios.

Parámetros

i - a /*sentinel*/ < false >

Ejemplo