命名空间
变体
操作

std::ranges::zip_view<Views...>::sentinel

来自 cppreference.cn
< cpp‎ | ranges‎ | zip view
 
 
范围库
范围适配器
 
 
template< bool Const >
class /*sentinel*/;
(since C++23)
(仅为说明用途*)

当底层视图不是 common_range 时,zip_view::end 的返回类型。

类型 /*sentinel*/<true>/*sentinel*/<false> 分别将底层视图视为 const 限定或非 const 限定。

[edit] 数据成员

成员名称 定义
end_ (私有)

[edit] 成员函数

构造一个哨位
(公共成员函数) [编辑]

[edit] 非成员函数

将哨位与从 zip_view::begin 返回的迭代器进行比较
(函数) [编辑]
(C++23)
计算哨位与从 zip_view::begin 返回的迭代器之间的距离
(函数) [编辑]