BloombergLP::bdlcc::Cache::erase

Remove the item having the specified key from this cache. Invoke the post-eviction callback for the removed item. Return 0 on success and 1 if key does not exist.

Synopsis

Declared in <bdlcc_cache.h>

int
erase(KEY const& key);