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