Erase the element at the specified position.
Declared in <bdlc_flathashmap.h>
FlatHashMap<KEY, VALUE, HASH, EQUAL>::iterator
erase(const_iterator position);
Return an iterator referring to the modifiable element immediately following the removed element, or to the past-the-end position if the removed element was the last element in the sequence of elements maintained by this map. This method invalidates all iterators and references to the removed element. The behavior is undefined unless position refers to an element in this map.
iterator following the erased element
| Name | Description |
|---|---|
| position | iterator to the element to erase |