Namespaces
Variants

std::ranges::zip_transform_view<F,Views...>:: sentinel <Const>:: sentinel

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

requires Const &&

std:: convertible_to < /*zentinel*/ < false > , /*zentinel*/ < Const >> ;
(2) (自 C++23 起)
constexpr explicit /*sentinel*/ ( /*zentinel*/ < Const > inner ) ;
(3) ( 仅用于说明* )

构造一个哨兵。

1) 默认构造函数。 默认初始化 底层哨兵对象 inner_
2) /*sentinel*/ < false > /*sentinel*/ < true > 的转换。通过 std :: move ( i. inner_ ) 移动构造底层对象 inner_
3) 值初始化 底层对象 inner_ inner 。此构造函数对用户不可访问。

参数

i - a /*sentinel*/ < false >
inner - 一个底层对象,类型为 zentinel < Const >

示例