Move‐assign the contents of rhs into this map.
Synopsis
Declared in <bslstl_map.h>
map<KEY, VALUE, COMPARATOR, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<map> rhs) noexcept(/* see-below */);
Description
Move‐assign the contents of the specified rhs map into this map.
Exception specification
This function is potentially-throwing unless AllocatorTraits::is_always_equal::value && std::is_nothrow_move_assignable<COMPARATOR>::value.
Return Value
reference providing modifiable access to this map
Parameters
Name |
Description |
rhs |
map to move‐assign from |
Created with MrDocs