operator==(ranges::adjacent_transform_view::sentinel)
来自 cppreference.cn
< cpp | ranges | adjacent transform view | sentinel
| template< bool OtherConst > requires std::sentinel_for</*inner-sentinel*/<Const>, |
(C++23 起) | |
比较 x 的底层迭代器与 y 的底层哨位。
等价于: return x. inner_ == y. inner_; 。
此函数模板对于无限定或限定查找不可见,只能在 adjacent_transform_view::sentinel 是参数的关联类时通过实参依赖查找找到。
!= 运算符由 operator== 合成。
[编辑] 参数
| x | - | 要比较的迭代器 |
| y | - | 要比较的哨位 |
[编辑] 返回值
比较结果。
[编辑] 示例
| 本节不完整 原因:无示例 |