[ox/std] Add operator-> to SpanIterator

(synced from 963ec5d3f7)
This commit is contained in:
2024-05-19 22:14:28 -05:00
parent d537305ec6
commit a9ead7b0b6
+4
View File
@@ -128,6 +128,10 @@ struct SpanIterator {
return operator-=(1);
}
constexpr PtrType operator->() const noexcept {
return &m_t[m_offset];
}
constexpr RefType operator*() const noexcept {
return m_t[m_offset];
}