[ox/std] Add operator-> to SpanIterator

This commit is contained in:
Gary Talent 2024-05-19 22:14:28 -05:00
parent 6df77a23ab
commit 963ec5d3f7

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];
}