Create an empty map that uses basicAllocator.
Declared in <bslstl_map.h>
explicit
map(ALLOCATOR const& basicAllocator);
Create an empty map that uses the specified basicAllocator to supply memory. Use a default-constructed object of the (template parameter) type COMPARATOR to order the key-value pairs contained in this map. Note that a bslma::Allocator * can be supplied for basicAllocator if the (template parameter) ALLOCATOR is bsl::allocator (the default).
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |