BloombergLP::bdlcc::StripedUnorderedMap::erase

Erase the element having the specified key.

Synopsis

Declared in <bdlcc_stripedunorderedmap.h>

std::size_t
erase(KEY const& key);

Description

Return 1 on success and 0 if key does not exist. Note that the returned value equals the number of elements removed.

Return Value

1 on success, and 0 if key does not exist

Parameters

NameDescription
keykey of the element to erase