std::ranges::enumerate_view::iterator::index - cppreference.com (original) (raw)
| constexpr difference_type index() const noexcept; | | (since C++23) | | -------------------------------------------------- | | ------------- |
Returns the underlying index pos_ of the current element. Equivalent to: return pos_;.
[edit] Parameters
(none)