Create an empty map using comparator and basicAllocator.
Declared in <bslstl_map.h>
explicit
map(
COMPARATOR const& comparator,
ALLOCATOR const& basicAllocator = ALLOCATOR());
Create an empty map using the specified comparator and basicAllocator.
| Name | Description |
|---|---|
| comparator | functor used to order keys |
| basicAllocator | allocator used to supply memory |