bsl::hashtable::erase

erase overloads

Synopses

Declared in <bslstp_hashtable.h>

Erase the element referenced by the specified __it.

void
erase(const_iterator const& __it);
» more...

Erase elements matching 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(
    const_iterator __first,
    const_iterator __last);
» more...

Return Value

number of elements erased

Parameters

NameDescription
__ititerator referring to the element to erase
__keykey of elements to erase
__firstbeginning of the erased range
__lastend of the erased range (exclusive)