std::ranges::enumerate_view<V>::iterator<Const>::index
constexpr difference_type index() const noexcept; | (начиная с C++23) |
Возвращает базовый pos_ индекс текущего элемента. Эквивалентно: return pos_;.
Параметры
(нет)
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/ranges/enumerate_view/iterator/index