Constructors

Synopses

Declared in <bdlcc_stripedunorderedmap.h>

Create an empty map using basicAllocator and default sizing.

explicit
StripedUnorderedMap(bslma::Allocator* basicAllocator);

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);

Parameters

Name

Description

basicAllocator

allocator used to supply memory

numInitialBuckets

initial number of buckets

numStripes

fixed number of stripes

Created with MrDocs