Muokkaa

Jaa


<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

unordered_multiset Class
unordered_set Class