BloombergLP::bdlcc::StripedUnorderedMultiMap::eraseFirst

Erase the first element found with the specified key.

Synopsis

Declared in <bdlcc_stripedunorderedmultimap.h>

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

Description

Return the number of elements erased. Note that method is more performant than eraseAll when there is one element having key.

Return Value

number of elements erased

Parameters

NameDescription
keykey of the element to erase