(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) |
Returns a reference or pointer to the element previous to current
.
Iter tmp = current; return *--tmp;
std::addressof(operator*())
.(none).
Reference or pointer to the element previous to current
.
accesses an element by index (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/reverse_iterator/operator_star_