util/AllocatedArray: add method data()
This commit is contained in:
parent
5b0ef7ea98
commit
b1bef9c21d
@ -148,6 +148,14 @@ public:
|
||||
return buffer.size;
|
||||
}
|
||||
|
||||
pointer data() noexcept {
|
||||
return buffer.data;
|
||||
}
|
||||
|
||||
const_pointer data() const noexcept {
|
||||
return buffer.data;
|
||||
}
|
||||
|
||||
reference front() noexcept {
|
||||
return buffer.front();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user