BloombergLP::bdlcc::StripedUnorderedMap::StripedUnorderedMap

Constructors

Synopses

Declared in <bdlcc_stripedunorderedmap.h>

Create an empty map using basicAllocator and default sizing.

explicit
StripedUnorderedMap(bslma::Allocator* basicAllocator);
» more...

Create an empty striped unordered map with optional sizing parameters.

explicit
StripedUnorderedMap(
    std::size_t numInitialBuckets = k_DEFAULT_NUM_BUCKETS,
    std::size_t numStripes = k_DEFAULT_NUM_STRIPES,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatorallocator used to supply memory
numInitialBucketsinitial number of buckets
numStripesfixed number of stripes