Create an empty unordered set with the specified parameters.

Synopsis

Declared in <bslstl_unorderedset.h>

unordered_set(
    size_type initialNumBuckets,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload, using the specified allocator.

Parameters

Name

Description

initialNumBuckets

initial number of buckets

basicAllocator

allocator used to supply memory

Created with MrDocs