bsl::hash_multimap::erase

erase overloads

Synopses

Declared in <bslstp_hashmap.h>

Erase the element referenced by the specified iterator.

void
erase(iterator __it);
» more...

Erase elements with the specified __key and return the count removed.

size_type
erase(key_type const& __key);
» more...

Erase the elements in the specified iterator range.

void
erase(
    iterator __f,
    iterator __l);
» more...

Return Value

number of elements erased

Parameters

NameDescription
__ititerator referring to the element to erase
__keykey of elements to erase
__fbeginning of the erased range
__lend of the erased range (exclusive)