Create an empty unordered set with the specified bucket count.
Synopsis
Declared in <bslstl_unorderedset.h>
explicit
unordered_set(
size_type initialNumBuckets,
HASH const& hashFunction = HASH(),
EQUAL const& keyEqual = EQUAL(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
Description
Same as the preceding overload, using the specified bucket count and hash/equality functors.
Parameters
Name |
Description |
initialNumBuckets |
initial number of buckets |
hashFunction |
hash function |
keyEqual |
key‐equality functor |
basicAllocator |
allocator used to supply memory |
Created with MrDocs