Constructors
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...
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |
| numInitialBuckets | initial number of buckets |
| numStripes | fixed number of stripes |