std::reverse_iterator::operator*,->

From cppreference.com
 
 
 
 
reference operator*() const;
(1)
pointer operator->() const;
(2)

Returns a reference or pointer to the element previous to current.

1) Equivalent to Iterator tmp = current; return *--tmp;
2) Equivalent to std::addressof(operator*()).

Contents

[edit] Parameters

(none)

[edit] Return value

Reference or pointer to the element previous to current.

[edit] Example

[edit] See also

accesses an element by index
(public member function)