erase overloads

Synopses

Declared in <bslstp_hashtable.h>

Erase the element referenced by the specified __it.

void
erase(const_iterator const& __it);

Erase elements matching the specified key and return the count removed.

size_type
erase(key_type const& __key);

Erase the elements in the specified iterator range.

void
erase(
    const_iterator __first,
    const_iterator __last);

Return Value

number of elements erased

Parameters

Name

Description

__it

iterator referring to the element to erase

__key

key of elements to erase

__first

beginning of the erased range

__last

end of the erased range (exclusive)

Created with MrDocs