[#bsl-map-0a7-2constructor-0e] = xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::map :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- map(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<map>] original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#