Namespaces
Variants
Actions

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

From cppreference.com
< cpp‎ | ranges‎ | enumerate view‎ | iterator
 
 
Ranges library
 
std::ranges::enumerate_view
enumerate_view::iterator::index
 
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)

[edit] Example

This section is incomplete
Reason: no example
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/enumerate_view/iterator/index&oldid=150709"

AltStyle によって変換されたページ (->オリジナル) /