Namespaces
Variants

std::ranges::join_with_view<V,Pattern>::sentinel<Const>::sentinel

De es.cppreference.net
 
 
Biblioteca de rangos
Adaptadores de rango
 
 
/*sentinel*/() = default;
(1) (desde C++23)
constexpr /*sentinel*/( /*sentinel*/<!Const> i )
    requires Const && std::convertible_to<ranges::sentinel_t<V>,
                                          ranges::sentinel_t<const V>>;
(2) (desde C++23)
constexpr explicit /*sentinel*/ ( /*Parent*/& parent );
(3) (desde C++23)
(solo exposición*)

Construye un centinela. La sobrecarga (3) es llamada por end() de ranges::join_with_view.

 Sobrecarga  end_
(1) inicializado por valor
(2) inicializado con std::move(s.end_ )
(3)  inicializado con ranges::end(parent.base_ ) 

Parámetros

i - un centinela correspondiente a un iterador mutable
parent - un objeto std::ranges::join_with_view

Ejemplo