Erase the first element found with the specified key.
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
std::size_t
eraseFirst(KEY const& key);
Return the number of elements erased. Note that method is more performant than eraseAll when there is one element having key.
number of elements erased
| Name | Description |
|---|---|
| key | key of the element to erase |