名稱空間
變體
操作

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

來自 cppreference.com
 
 
範圍庫 (Ranges library)
範圍介面卡 (Range adaptors)
 
 
constexpr difference_type index() const noexcept;
(C++23 起)

返回當前元素的底層索引 pos_。等價於: return pos_;

[編輯] 引數

(無)

[編輯] 示例