std::reverse_iterator::operators
STD:反向[医]迭代器::运算符%2A->
| (1) | |
---|---|---|
reference operator*() const; | (until C++17) | |
constexpr reference operator*() const; | (since C++17) | |
| (2) | |
pointer operator->() const; | (until C++17) | |
constexpr pointer operator->() const; | (since C++17) |
返回指向以下元素的引用或指针current
...
1%29相当于Iterator tmp = current; return *--tmp;
2%29相当于std::addressof
(operator*())
...
参数
%280%29
返回值
之前的元素的引用或指针。current
...
例
另见
operator[] | accesses an element by index (public member function) |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/iterator/反向[医]迭代器/算子[医]星[医]