Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A type that provides a bidirectional iterator that can read or modify an element in a reversed multimap.
typedef std::reverse_iterator<iterator> reverse_iterator;
Remarks
A type reverse_iterator is use to iterate through the multimap in reverse.
The reverse_iterator defined by multimap points to objects of value_type, which are of type pair*<const Key, Type>*. The value of the key is available through the first member pair and the value of the mapped element is available through the second member of the pair.
To dereference a reverse_iterator rIter pointing to an element in a multimap, use the -> operator.
To access the value of the key for the element, use rIter -> first, which is equivalent to (*rIter).first. To access the value of the mapped datum for the element, use rIter -> second, which is equivalent to (*rIter).first.
Example
See the example for rbegin for an example of how to declare and use reverse_iterator.
Requirements
Header: <map>
Namespace: std