std::ranges::enumerate_view<V>::iterator<Const>::index
< cpp | ranges | enumerate view | iterator
constexpr difference_type index() const noexcept;
|
(C++23 起) | |
返回当前元素的底层索引 pos_
。等价于:return pos_;。
参数
(无)
示例
本节未完成 原因:暂无示例 |
constexpr difference_type index() const noexcept;
|
(C++23 起) | |
返回当前元素的底层索引 pos_
。等价于:return pos_;。
(无)
本节未完成 原因:暂无示例 |