Erases the element with the given key, if there is one; returns how many were erased (0 or 1).
Declared in <cptr/ordered_map.hpp>
iterator
erase(const_iterator pos) noexcept;
» more...
iterator
erase(iterator pos) noexcept;
» more...
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...