Create an unordered multimap by moving from original.
Synopsis
Declared in <bslstl_unorderedmultimap.h>
unordered_multimap(BloombergLP::bslmf::MovableRef<unordered_multimap> original);
Description
Create an unordered multimap having the same value as the specified original object by moving (in constant time) the contents of original to the new unordered multimap. Use a copy of original.hash_function() to generate hash values for the keys contained in this unordered multimap. Use a copy of original.key_eq() to verify that two keys are equivalent. The allocator associated with original is propagated for use in the newly‐created unordered multimap. original is left in a valid but unspecified state.
Parameters
Name |
Description |
original |
unordered multimap to move from |
Created with MrDocs