bsl::multimap::multimap

Create an empty multimap using comparator and basicAllocator.

Synopsis

Declared in <bslstl_multimap.h>

explicit
multimap(
    COMPARATOR const& comparator,
    ALLOCATOR const& basicAllocator = ALLOCATOR());

Description

Create an empty multimap using the specified comparator to order key-value pairs and the optionally specified basicAllocator to supply memory.

Parameters

NameDescription
comparatorfunctor used to order keys
basicAllocatorallocator used to supply memory