Assign to this map by moving from the specified rhs map.
Synopsis
Declared in <bdlc_flathashmap.h>
FlatHashMap<KEY, VALUE, HASH, EQUAL>&
operator=(bslmf::MovableRef<FlatHashMap> rhs);
Description
Assign to this object the value, hasher, and equality comparator of the specified rhs object, and return a reference providing modifiable access to this object. If this object and rhs use the same allocator the contents of rhs are moved (in constant time) to this object. rhs is left in a (valid) unspecified state.
Return Value
modifiable reference to this map
Parameters
Name |
Description |
rhs |
map to move from |
Created with MrDocs