std::ranges::transform_view<V,F>::sentinel
来自cppreference.com
< cpp | ranges | transform view
| template< bool Const > class /*sentinel*/ |
(C++20 起) | |
底层类型非 common_range 时 tranform_view::end 的返回类型。
const 限定重载返回 /*sentinel*/<true> 。非 const 限定重载返回 /*sentinel*/<false> 。
此类模板的名称(此处示为 /*sentinel*/ )是未指定的。
典型实现仅保有一个数据成员:从(可为 const 限定的) V 获得的哨位。
成员类型
| 成员类型 | 定义 |
Parent(私有)
|
若 Const 为 true 则为 const transform_view<V, F> ,否则为 transform_view<V, F> 。名称仅用于阐释
|
Base(私有)
|
若 Const 为 true 则为 const V ,否则为 V 。名称仅用于阐释
|
成员函数
| 构造哨位 (公开成员函数) | |
| 返回底层哨位 (公开成员函数) |
非成员函数
| 比较哨位与从 transform_view::begin 返回的迭代器 (函数) | |
| 计算哨位与从 transform_view::begin 返回的迭代器的距离 (函数) |