Create a map with the same value as the specified original object.
Synopsis
Declared in <bdlc_flathashmap.h>
FlatHashMap(
FlatHashMap const& original,
bslma::Allocator* basicAllocator = 0);
Description
Create a FlatHashMap object having the same value, hasher, and equality comparator as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified or is 0, the currently installed default allocator is used.
Parameters
Name |
Description |
original |
map providing the initial value |
basicAllocator |
allocator used to supply memory |
Created with MrDocs