bsl::unordered_map::operator=

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

Synopsis

Declared in <bslstl_unorderedmap.h>

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

Description

Assign to this unordered map the value of the of the specified initializer list rhs, and return a reference providing modifiable access to this object. This method requires that the (template parameter) type value_type be copy-insertable into this list.

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
rhssource object to assign from