Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
vector::operator[]
const_reference operator[](size_type pos) const;
reference operator[](size_type pos);
The member function returns a reference to the element of the controlled sequence at position pos
. If that position is invalid, the behavior is undefined.