Remove the elements in the half-open iterator range.
Declared in <bdlc_flathashset.h>
FlatHashSet<KEY, HASH, EQUAL>::const_iterator
erase(
const_iterator first,
const_iterator last);
Remove from this set the elements 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 elements. The behavior is undefined unless first and last are valid iterators on this set, 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 (exclusive) |