Remove the item having the specified key from this cache.
Declared in <bdlcc_cache.h>
int
erase(KEY const& key);
Invoke the post-eviction callback for the removed item. Return 0 on success and 1 if key does not exist.
0 on success and 1 if key does not exist
| Name | Description |
|---|---|
| key | key of the item to remove |