Namespaces
Variants

std::ranges::enumerate_view<V>::iterator<Const>::index

来自 zh.cppreference.net
 
 
Ranges library
范围适配器
 
 
constexpr difference_type index() const noexcept;
(自C++23起)

返回基础索引 pos_ 的当前元素。等价于: return pos_;.

参数

(无)

示例