Namespaces
Variants

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

ja.cppreference.net より
 
 
範囲ライブラリ
範囲アダプタ
 
 
constexpr difference_type index() const noexcept;
(C++23から)

基礎となるインデックス pos_ を現在の要素に対して返します。以下と同等: return pos_;。

パラメータ

(なし)

例