BloombergLP::bdlcc::StripedUnorderedMap::insert

insert overloads

Synopses

Declared in <bdlcc_stripedunorderedmap.h>

Insert or update using the move-insertable value for key.

std::size_t
insert(
    KEY const& key,
    bslmf::MovableRef<VALUE> value);
» more...

Insert or update the element having the specified key and value.

std::size_t
insert(
    KEY const& key,
    VALUE const& value);
» more...

Return Value

1 if an element is inserted, and 0 if an existing element is updated

Parameters

NameDescription
keykey of the element to insert or update
valuemove-insertable value to assign or insert