[#bsl-map-0c7-2constructor-0a] = xref:bsl.adoc[bsl]::xref:bsl/map-0c7.adoc[map<int, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>]::map :relfileprefix: ../../ :mrdocs: Create a map having the same value as the specified `original` object that uses the specified `basicAllocator` to supply memory. The contents of `original` are moved (in constant time) to the new map if `basicAllocator == original.get_allocator()`, and are move‐ inserted (in linear time) using `basicAllocator` otherwise. `original` is left in a valid but unspecified state. Use a copy of `original.key_comp()` to order the key‐value pairs contained in this map. This method requires that the (template parameter) types `KEY` and `VALUE` both be `move‐insertable` into this map (see {Requirements on `KEY` and `VALUE`}). Note that a `bslma::Allocator *` can be supplied for `basicAllocator` if the (template parameter) `ALLOCATOR` is `bsl::allocator` (the default). == Synopsis Declared in `<bslstl_map.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- map( xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<map<int, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>>] original, type_identity<allocator<pair<int const, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>>>::type const& basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#