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