std::reverse_iterator::operator[]
/*unspecified*/ operator const; | | (until C++17) |
|---|---|---|
constexpr /*unspecified*/ operator const; | | (since C++17) |
在指定的相对位置返回对元素的引用。
参数
n | - | position relative to current location. |
|---|
返回值
对相对位置元素的引用,即,current[-n-1]...
实例
另见
operator*operator-> | accesses the pointed-to element (public member function) |
|---|
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

