diff --git a/src/ox/std/iterator.hpp b/src/ox/std/iterator.hpp index a93e75c2f..b83106070 100644 --- a/src/ox/std/iterator.hpp +++ b/src/ox/std/iterator.hpp @@ -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]; }