BloombergLP::bdlc::FlatHashMap::operator=

Assignment operators

Synopses

Declared in <bdlc_flathashmap.h>

Assign to this map the value of the specified rhs map.

FlatHashMap<KEY, VALUE, HASH, EQUAL>&
operator=(FlatHashMap const& rhs);
» more...

Assign to this map by moving from the specified rhs map.

FlatHashMap<KEY, VALUE, HASH, EQUAL>&
operator=(bslmf::MovableRef<FlatHashMap> rhs);
» more...

Assign to this map the elements of the specified values list.

FlatHashMap<KEY, VALUE, HASH, EQUAL>&
operator=(bsl::initializer_list<value_type> values);
» more...

Return Value

modifiable reference to this map

Parameters

NameDescription
rhsmap providing the value to assign
valuesinitializer list of key/value pairs to assign