Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 2.07 KB

unordered-map.md

File metadata and controls

43 lines (33 loc) · 2.07 KB
title description ms.date f1_keywords helpviewer_keywords ms.assetid
<unordered_map>
API overview for the C++ Standard Library container class `map`.
11/04/2016
<unordered_map>
unordered_map header
eb90ecb2-250a-4be1-83d2-f66b2917edde

<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