Skip to content

Latest commit

 

History

History
82 lines (67 loc) · 3.14 KB

File metadata and controls

82 lines (67 loc) · 3.14 KB
title <hash_set> | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
<hash_set>
std.<hash_set>
std::<hash_set>
dev_langs
C++
helpviewer_keywords
hash_set header
ms.assetid 6b556967-c808-4869-9b4d-f9e030864435
caps.latest.revision 22
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

<hash_set>

Note

This header is obsolete. The alternative is <unordered_set>.

Defines the container template classes hash_set and hash_multiset and their supporting templates.

Syntax

#include <hash_set>  
  

Remarks

Operators

Hash_set version Hash_multiset version Description
operator!= (hash_set) operator!= (hash_multiset) Tests if the hash_set or hash_multiset object on the left side of the operator is not equal to the hash_set or hash_multiset object on the right side.
operator== (hash_set) operator== (hash_multiset) Tests if the hash_set or hash_multiset object on the left side of the operator is equal to the hash_set or hash_multiset object on the right side.

Specialized Template Functions

Hash_set version Hash_multiset version Description
swap (hash_set) swap (hash_multiset) Exchanges the elements of two hash_sets or hash_multisets.

Classes

hash_compare Class Describes an object that can be used by any of the hash associative containers — hash_map, hash_multimap, hash_set, or hash_multiset — as a default Traits parameter object to order and hash the elements they contain.
hash_set Class Used for the storage and fast retrieval of data from a collection in which the values of the elements contained are unique and serve as the key values.
hash_multiset Class Used for the storage and fast retrieval of data from a collection in which the values of the elements contained are unique and serve as the key values.

See Also

Header Files Reference
Thread Safety in the C++ Standard Library
C++ Standard Library Reference