Share via


reverse_iterator::reference

A type that provides a reference to an element addressed by a reverse_iterator.

typedef typename iterator_traits<RandomIterator>::reference reference;

Remarks

The type is a synonym for the iterator trait typename iterator_traits<RandomIterator>::reference.

Example

See reverse_iterator::operator[] or reverse_iterator::operator* for examples of how to declare and use reference.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

reverse_iterator Class

Standard Template Library

Other Resources

reverse_iterator Members