mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 16:23:51 +00:00
[SDK] Implement std::vector.data()
This commit is contained in:
parent
48d81f845d
commit
114556b1c9
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ public:
|
||||||
reference at(size_type __n) { _M_range_check(__n); return (*this)[__n]; }
|
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]; }
|
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)
|
#if !defined (_STLP_DONT_SUP_DFLT_PARAM)
|
||||||
explicit vector(const allocator_type& __a = allocator_type())
|
explicit vector(const allocator_type& __a = allocator_type())
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue