Remove the entries in the half-open range [first, last)].
Declared in <bdlc_flathashtable.h>
FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>::iterator
erase(
const_iterator first,
const_iterator last);
Remove from this table the objects starting at the specified first position up to, but not including, the specified last position, and return last. This method invalidates all iterators, and references to the removed element. The behavior is undefined unless first and last either refer to elements in this table or are the end iterator, and the first position is at or before the last position in the iteration sequence provided by this container.
iterator equal to last
| Name | Description |
|---|---|
| first | beginning of the range to erase |
| last | end of the range to erase |