bsl::unordered_map<basic_string<char>, Json, TransparentHash, TransparentEqualTo>::erase

Remove from this unordered map the value_type objects starting at the specified first position up to, but not including, the specified last position, and return last. This method invalidates only iterators and references to the removed element and previously saved values of the end() iterator, and preserves the relative order of the elements not removed. The behavior is undefined unless first and last either refer to elements in this unordered map or are the end iterator, and the first position is at or before the last position in the iteration sequence provided by this container.

Synopsis

Declared in <bslstl_unorderedmap.h>

iterator
erase(
    const_iterator first,
    const_iterator last);