Condividi tramite


<unordered_map>

 

The latest version of this topic can be found at <unordered_map>.

Defines the container template classes unordered_map and unordered_multimap and their supporting templates.

Syntax

#include <unordered_map>  

Classes

unordered_map Class Stores hash table of {key, mapped} pairs.
unordered_multimap Class Stores hash table of {key, mapped} pairs.

Functions

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