goldsborough / lru-cache

:dizzy: A feature complete LRU cache implementation in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Access to evicted element in hooks

bvignesh opened this issue · comments

The miss_callback hook seems to provide access to the key that would miss in the cache. Is there any current support for accessing the key of the LRU element that is evicted when the cache is full (Ideally, available as a hook that is triggered on insertion events)?