Iterator Issues

See Iterator Issues that are common to all hash containers.

Iterators of hash_set and hash_multiset are not mutable. They act as const_iterators. One can cast away the const qualification of references returned by iterators, but if the element is modified such that the hash function now has a different value, the behavior is undefined.

See Capacity for details on how to control the number of buckets.