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

Name

Description

comparator

functor used to order keys

basicAllocator

allocator used to supply memory

Created with MrDocs