| friend constexpr bool operator==( const /*iterator*/<Const>& x, const /*sentinel*/& y ); |
|
(C++20 起) |
| | |
比较 x 的底层迭代器与 y 的底层哨位。
此函数对通常无限定或有限定查找不可见,而只能在 transform_view::sentinel<Const> 为参数的关联类时由实参依赖查找找到。
参数
返回值
x.current_ == y.end_ ,其中 current_ 代表底层迭代器, end_ 代表底层哨位。
示例