Create a multimap with the same value as original.

Synopsis

Declared in <bslstl_multimap.h>

multimap(multimap const& original);

Description

Create a multimap having the same value as the specified original object. Use a copy of original.key_comp() to order the key‐value pairs contained in this multimap. Use the allocator returned by 'bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())' to allocate memory. This method requires that the (template parameter) types KEY and VALUE both be copy‐insertable into this multimap (see {Requirements on KEY and VALUE}).

Parameters

Name

Description

original

multimap to copy

Created with MrDocs