diff --git a/deps/ox/src/ox/std/span.hpp b/deps/ox/src/ox/std/span.hpp index ff768c78..357bf198 100644 --- a/deps/ox/src/ox/std/span.hpp +++ b/deps/ox/src/ox/std/span.hpp @@ -25,7 +25,7 @@ class SpanView { using value_type = T; using size_type = std::size_t; - template + template using iterator = SpanIterator; template @@ -103,6 +103,11 @@ class SpanView { return m_items[i]; } + [[nodiscard]] + constexpr T const*data() const noexcept { + return m_items; + } + [[nodiscard]] constexpr std::size_t size() const noexcept { return m_size;