24 Iterators library [iterators]

24.5 Iterator adaptors [predef.iterators]

24.5.1 Reverse iterators [reverse.iterators]

24.5.1.3 reverse_iterator operations [reverse.iter.ops]

24.5.1.3.4 operator* [reverse.iter.op.star]

reference operator*() const;

Effects:

deref_tmp = current;
--deref_tmp;
return *deref_tmp;

Note: This operation must use an auxiliary member variable rather than a temporary variable to avoid returning a reference that persists beyond the lifetime of its associated iterator. (See [iterator.requirements].)  — end note ]