Namespaces
Variants

std::ranges::zip_view<视图...>::哨位(sentinel)

来自 zh.cppreference.net
 
 
范围库
范围适配器
 
 
template< bool Const >
class /*sentinel*/;
(自 C++23 起)
(仅用于阐述*)

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

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

数据成员

成员 定义
end_ (私有)
  • std::tuple<ranges::sentinel_t<Views>...> 若 Const 为 false,或
  • std::tuple<ranges::sentinel_t<const Views>...> 若 Const 为 true。
    (仅用于阐释的成员对象*)

成员函数

构造哨兵
(公开成员函数)

非成员函数

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