bsl::map::map

Create a map having the same value as the specified original object by moving (in constant time) the contents of original to the new map. Use a copy of original.key_comp() to order the key-value pairs contained in this map. The allocator associated with original is propagated for use in the newly-created map. original is left in a valid but unspecified state.

Synopsis

Declared in <bslstl_map.h>

map(BloombergLP::bslmf::MovableRef<map> original);