[ox/std] Add Span::data()
This commit is contained in:
parent
e543131f0d
commit
2a692fc46e
5
deps/ox/src/ox/std/span.hpp
vendored
5
deps/ox/src/ox/std/span.hpp
vendored
@ -214,6 +214,11 @@ class Span {
|
||||
return m_items[i];
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr auto data() const noexcept {
|
||||
return m_items;
|
||||
}
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr std::size_t size() const noexcept {
|
||||
return m_size;
|
||||
|
Loading…
Reference in New Issue
Block a user