operator==(ranges::zip_transform_view::哨位)
来自 zh.cppreference.net
template< bool OtherConst >
requires std::sentinel_for</*zentinel*/<Const>, /*ziperator*/<OtherConst>>
friend constexpr bool operator==( const /*iterator*/<OtherConst>& x,
const /*sentinel*/& y );
|
(C++23 起) | |
比较 x 的底层迭代器与 y 的底层哨位。
此函数 模板 对于普通的无限定或有限定查找不可见,只能在实参依赖查找中,当 zip_transform_view::sentinel 是实参的关联类时被找到。
运算符 != 是由 合成的(synthesized)而来。
operator==
参数
| x | - | 待比较的 迭代器 |
| y | - | 待比较的 哨位 |
返回值
x.
inner_
==
y.
inner_
,其中
inner_
分别表示底层迭代器或哨位。
示例
|
本节内容不完整
原因:缺少示例 |