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