<unordered_map>
Defines the container class templates unordered_map and unordered_multimap and their supporting templates.
Syntax
#include <unordered_map>
Note
The <unordered_map> library also uses the #include <initializer_list>
statement.
Classes
Class | Description |
---|---|
unordered_map Class | Stores hash table of {key, mapped} pairs. |
unordered_multimap Class | Stores hash table of {key, mapped} pairs. |
Functions
Function | Description |
---|---|
operator!= | Tests if the unordered_map object on the left side of the operator is not equal to the unordered_map object on the right side. |
operator== | Tests if the unordered_map object on the left side of the operator is equal to the unordered_map object on the right side. |
swap Function (unordered_map) | Swaps two maps. |
operator!= | Tests if the unordered_multimap object on the left side of the operator is not equal to the unordered_multimap object on the right side. |
operator== | Tests if the unordered_multimap object on the left side of the operator is equal to the unordered_multimap object on the right side. |
swap Function (unordered_map) | Swaps two multimaps. |
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru