<unordered_set>

Defines the container class templates unordered_multiset and unordered_set and their supporting templates.

Requirements

Header: <unordered_set>

Namespace: std

Note

The <unordered_set> library also uses the #include <initializer_list> statement.

Members

Classes

Name Description
unordered_multiset Class Stores hash table of keys.
unordered_set Class Stores hash table of keys.

Functions

Name Description
operator!= Tests if the unordered_multiset object on the left side of the operator is not equal to the unordered_multiset object on the right side.
operator== Tests if the unordered_multiset object on the left side of the operator is equal to the unordered_multiset object on the right side.
swap Swaps two multisets.
operator!= Tests if the unordered_set object on the left side of the operator is not equal to the unordered_set object on the right side.
operator== Tests if the unordered_set object on the left side of the operator is equal to the unordered_set object on the right side.
swap Swaps two sets.

See also

unordered_map Class
unordered_multimap Class