erase overloads
Declared in <cptr/unordered_map.hpp>
Erase the element at pos; returns the element after it, in iteration order. Finding that element may step over empty buckets.
iterator
erase(const_iterator pos) noexcept;
» more...
iterator
erase(iterator pos) noexcept;
» more...
Erase the element with key, if any; returns how many were erased. One walk of the bucket finds the element and the link to it, and nothing looks for the next element. Erases the element with the given key, if there is one; returns how many were erased (0 or 1).
size_type
erase(K const& key);
» more...
iterator
erase(
const_iterator first,
const_iterator last) noexcept;
» more...