Create a copy of original using basicAllocator.
Declared in <bslstl_unorderedmap.h>
unordered_map(
unordered_map const& original,
ALLOCATOR const& basicAllocator);
Create an unordered map having the same value, hasher, key-equality comparator, and max_load_factor as the specified original, and using the specified basicAllocator to supply memory. If the ALLOCATOR type is bsl::allocator (the default), then basicAllocator shall be convertible to bslma::Allocator *.
| Name | Description |
|---|---|
| original | unordered map to copy or move from |
| basicAllocator | allocator used to supply memory |