We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a89bb2 commit a846ee7Copy full SHA for a846ee7
AK/Vector.h
@@ -50,6 +50,7 @@ class VectorIterator {
50
int operator-(const VectorIterator& other) { return m_index - other.m_index; }
51
52
bool is_end() const { return m_index == m_vector.size(); }
53
+ int index() const { return m_index; }
54
55
private:
56
friend VectorType;
0 commit comments