bsl::unordered_map::operator=

Assignment operators

Synopses

Declared in <bslstl_unorderedmap.h>

Copy-assign from rhs.

unordered_map&
operator=(unordered_map const& rhs);
» more...

Move-assign to this unordered map from rhs.

unordered_map&
operator=(BloombergLP::bslmf::MovableRef<unordered_map> rhs) noexcept(/* see-below */);
» more...

Assign to this unordered map the contents of initializer list rhs.

unordered_map&
operator=(std::initializer_list<value_type> rhs);
» more...

Return Value

  • a reference providing modifiable access to this object
  • reference providing modifiable access to this object

Parameters

NameDescription
rhsunordered map to copy from