BAN: Add data() member function to Array
This commit is contained in:
parent
461a5774f8
commit
de9f109f2a
|
@ -40,6 +40,9 @@ namespace BAN
|
||||||
|
|
||||||
constexpr size_type size() const;
|
constexpr size_type size() const;
|
||||||
|
|
||||||
|
const T* data() const { return m_data; }
|
||||||
|
T* data() { return m_data; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
T m_data[S];
|
T m_data[S];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue