std::ranges::enumerate_view<V>::iterator<Const>::index
来自 zh.cppreference.net
C++
Ranges library
| ||||||||||||||||||||||
| 范围原语 | |||||||
| |||||||
| 范围概念 | |||||||||||||||||||
| |||||||||||||||||||
| 范围工厂 | ||||||||||||||
| ||||||||||||||
| 范围适配器 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 辅助项 | |||||||||||||||||
| |||||||||||||||||
constexpr difference_type index() const noexcept;
|
(自C++23起) | |
返回基础索引 pos_ 的当前元素。等价于: return pos_;.
参数
(无)
示例
|
本节内容不完整
原因:缺少示例 |