◐ Shell
clean mode source ↗

std::unordered_multimap – cppreference.com

<tbody> </tbody>

definiert in Header

<unordered_map>

template< class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< std::pair<const Key, T> > > class unordered_multimap;

(seit C++11)

Ungeordnete multimap ist eine ungeordnete assoziativen Container, die äquivalent Schlüssel (ein unordered_multimap können mehrere Kopien jeder Schlüsselwert enthalten) und daß assoziierten Werte eines anderen Typs mit den Schlüsseln unterstützt. Die unordered_multimap Klasse unterstützt uns Iteratoren. Suchen, Einfügung und Entfernung haben mittlere konstanter Zeit Komplexität .

Original:

Unordered multimap is an unordered associative container that supports equivalent keys (an unordered_multimap may contain multiple copies of each key value) and that associates values of another type with the keys. The unordered_multimap class supports forward iterators. Search, insertion, and removal have average constant-time complexity.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

std::unordered_multimap erfüllt die Anforderungen der Container, AllocatorAwareContainer, UnorderedAssociativeContainer .

Original:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Mitglied Typen

Mitglied Typ

Original:

Member type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definition
key_type Key [edit]
mapped_type T [edit]
value_type std::pair<const Key, T> [edit]
size_type vorzeichenloser ganzzahliger Typ (in der Regel size_t)[edit]
difference_type vorzeichenbehafteter Typ (usually ptrdiff_t) [edit]
hasher Hash [edit]
key_equal KeyEqual [edit]
allocator_type Allocator [edit]
reference value_type& [edit]
const_reference const value_type& [edit]
pointer std::allocator_traits<Allocator>::pointer [edit]
const_pointer std::allocator_traits<Allocator>::const_pointer [edit]
iterator ForwardIterator [edit]
const_iterator

Constant Forward-Iterator

Original:

Constant forward iterator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[edit]
local_iterator

Ein Iterator Typ, dessen Kategorie,, Differenz, Zeiger and
Referenztypen sind die gleichen wie iterator. Diese iterator
können verwendet werden, um durch einen einzigen Eimer, aber nicht über Eimern durchlaufen werden

Original:

An iterator type whose category, value, difference, pointer and
reference types are the same as iterator. This iterator
can be used to iterate through a single bucket but not across buckets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[edit]
const_local_iterator

Ein Iterator Typ, dessen Kategorie,, Differenz, Zeiger and
Referenztypen sind die gleichen wie const_iterator. Diese iterator
können verwendet werden, um durch einen einzigen Eimer, aber nicht über Eimern durchlaufen werden

Original:

An iterator type whose category, value, difference, pointer and
reference types are the same as const_iterator. This iterator
can be used to iterate through a single bucket but not across buckets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[edit]

Member-Funktionen

konstruiert die unordered_multimap
(öffentliche Elementfunktion) [edit]
zerstört die unordered_multimap
(öffentliche Elementfunktion) [edit]

weist Werte auf den Behälter

Original:

assigns values to the container

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]
liefert den zugehörigen Allocator
(öffentliche Elementfunktion) [edit]

Iteratoren

Original:

Iterators

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

liefert einen Iterator an den Anfang

Original:

returns an iterator to the beginning

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

liefert einen Iterator bis zum Ende

Original:

returns an iterator to the end

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Kapazität

Original:

Capacity

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

prüft, ob der Container leer ist

Original:

checks whether the container is empty

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

liefert die Anzahl der Elemente

Original:

returns the number of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

gibt die maximal mögliche Anzahl von Elementen

Original:

returns the maximum possible number of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Modifiers

Original:

Modifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

löscht den Inhalt

Original:

clears the contents

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Elemente einfügen

Original:

inserts elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]
constructs element in-place
(öffentliche Elementfunktion) [edit]

baut Elemente in-place mit einem Hinweis

Original:

constructs elements in-place using a hint

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

löscht Elemente

Original:

erases elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

tauscht die Inhalte

Original:

swaps the contents

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Lookup

Original:

Lookup

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

liefert die Anzahl der Elemente zu einem Schlüssel

Original:

returns the number of elements matching specific key

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

findet Element mit bestimmten Schlüssel

Original:

finds element with specific key

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Bandbreite der Rendite von Elementen übereinstimmenden eine bestimmte Taste

Original:

returns range of elements matching a specific key

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Eimer Schnittstelle

Original:

Bucket interface

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

liefert einen Iterator auf den Anfang des angegebenen Eimer

Original:

returns an iterator to the beginning of the specified bucket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

liefert einen Iterator auf das Ende des angegebenen Eimer

Original:

returns an iterator to the end of the specified bucket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

gibt die Anzahl von Eimern

Original:

returns the number of buckets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]
returns the maximum number of buckets
(öffentliche Elementfunktion) [edit]

gibt die Anzahl der Elemente in bestimmten Eimer

Original:

returns the number of elements in specific bucket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

gibt den Eimer für bestimmte Taste

Original:

returns the bucket for specific key

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Hash Politik

Original:

Hash policy

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

kehrt durchschnittliche Anzahl von Elementen pro Eimer

Original:

returns average number of elements per bucket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

verwaltet maximale Anzahl von Elementen pro Eimer

Original:

manages maximum average number of elements per bucket

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]
reserves at least the specified number of buckets.
This regenerates the hash table.
(öffentliche Elementfunktion) [edit]
reserviert Platz für mindestens die angegebene Anzahl von Elementen.
Dies erzeugt die Hash-Tabelle neu.
(öffentliche Elementfunktion) [edit]

Beobachter

Original:

Observers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Renditen funktionieren zur Hash der Schlüssel

Original:

returns function used to hash the keys

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

gibt die Funktion verwendet, um Schlüssel für die Gleichstellung zu vergleichen

Original:

returns the function used to compare keys for equality

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]

Non-Member-Funktionen

vergleicht die Werte im unordered_multimap

Original:

compares the values in the unordered_multimap

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]

spezialisiert die std::swap Algorithmus

Original:

specializes the std::swap algorithm

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]