On 19 October 2013 18:43, Mark <[email protected]> wrote:
> Does anyone know of an LRU based container for Qt? I'm specifically
> looking for an implementation that notifies me when something gets
> removed due to LRU kicking in. QCache would be nearly OK for my needs,
> but it doesn't notify me when something drops out due to LRU kicking
> in.

If you need to know when something is evicted then it's not really
acting as just a cache. That said, you could do it by making the
object in the cache inform you in its destructor.

Rich.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to