size_type erase(const key_type &x)
Erase elements by key.
All key/data pairs with specified key x will be removed from the underlying database. This function supports auto-commit.
void erase(iterator pos)
Erase a key/data pair at specified position.
void erase(iterator first, iterator last)
Range erase.
Erase all key/data pairs within the valid range [first, last).