共用方式為


<hash_set> Members

Reference

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 less than 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 less than or 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.

operator> (hash_set)

operator> (hash_multiset)

Tests if the hash_set or hash_multiset object on the left side of the operator is greater than 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 greater than or 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

Concepts

<hash_set>

Thread Safety in the Standard C++ Library

Standard Template Library