-
-
Save q66/2f3d394637b72e2b8130d96fc1a1a350 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class _Tp, class _Allocator> | |
_LIBCPP_CONSTEXPR_SINCE_CXX20 inline _LIBCPP_HIDE_FROM_ABI typename vector<_Tp, _Allocator>::reference | |
vector<_Tp, _Allocator>::operator[](size_type __n) _NOEXCEPT { | |
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__n < size(), "vector[] index out of bounds"); | |
return this->__begin_[__n]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment