erase overloads

Synopses

Declared in <bslstp_hashmap.h>

Erase the element at the specified iterator position.

void
erase(iterator position);

Erase the element with 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(
    iterator __f,
    iterator __l);

Return Value

number of elements erased

Parameters

Name

Description

position

iterator referring to the element to erase

__key

key of elements to erase

__f

beginning of the erased range

__l

end of the erased range (exclusive)

Created with MrDocs