命名空间
变体
操作

std::ranges::enumerate_view<V>::iterator<Const>::operator*

来自 cppreference.cn
 
 
范围库
范围适配器
 
 
constexpr auto operator*() const;
(since C++23)

返回 enumerate_view 中的当前元素。

等价于: return reference-type(pos_, *current_);.

目录

[编辑] 参数

(无)

[编辑] 返回值

当前元素。

[编辑] 示例

[编辑] 参见

通过索引访问元素
(公有成员函数)