https://git.reactos.org/?p=reactos.git;a=commitdiff;h=114556b1c97859f81cf73881c5f2a5ad0de1c2df
commit 114556b1c97859f81cf73881c5f2a5ad0de1c2df Author: Pierre Schweitzer <pie...@reactos.org> AuthorDate: Wed Nov 13 22:56:16 2019 +0100 Commit: Pierre Schweitzer <pie...@reactos.org> CommitDate: Mon Nov 18 23:50:33 2019 +0100 [SDK] Implement std::vector.data() --- sdk/include/c++/stlport/stl/_vector.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/include/c++/stlport/stl/_vector.h b/sdk/include/c++/stlport/stl/_vector.h index ed243ef3749..4eb9d755278 100644 --- a/sdk/include/c++/stlport/stl/_vector.h +++ b/sdk/include/c++/stlport/stl/_vector.h @@ -210,6 +210,9 @@ public: reference at(size_type __n) { _M_range_check(__n); return (*this)[__n]; } const_reference at(size_type __n) const { _M_range_check(__n); return (*this)[__n]; } + _Tp* data() { return this->_M_start; } + const _Tp* data() const { return this->_M_start; } + #if !defined (_STLP_DONT_SUP_DFLT_PARAM) explicit vector(const allocator_type& __a = allocator_type()) #else