Constructor, uses the default implementation for the bucket element allocator: Elements are allocated by 'new' and stored in a free list.
Constructor.
Bucket type
'foreach' iteration over elements in the set. DO NOT change the element keys during iteration because this will corrupt the map (unless it is guaranteed that the element will go to the same bucket).
Removes all elements from all buckets and sets the values to val_init if val_init is not empty.
Looks up a mapping from the specified key.
Adds or updates a mapping from the specified key.
Adds or updates a mapping from the specified key.
Removes the mapping for the specified key.
Removes the mapping for the specified key and optionally invokes dg with the value that is about to be removed.
Changes the number of buckets to 2 ^ exp2.
Calculates the hash value from key.
Convenience type alias for subclasses.
Map and and bucket statistics like the map length or the number of buckets.
Bucket element allocator.
Get the length of the buckets.
Removes all elements from all buckets.
Changes the number of buckets to 2 ^ exp2.
Changes the number of buckets to the lowest power of 2 that results in a load factor of at least load_factor with the current number of elements.
Removes all elements from all buckets and sets the values to val_init if val_init is not empty.
Removes all elements from all buckets.
Calculates the lowest exponent of 2 so that a power of 2 with this exponent is at least n / load_factor.
Bucket set class template.