Cachemere
Modular Caching Library for C++
Public Types | Public Member Functions | List of all members
cachemere::policy::EvictionLRU< Key, KeyHash, Value >::VictimIterator Class Reference

Iterator for iterating over cache items in the order they should be evicted. More...

#include <eviction_lru.h>

Public Types

using KeyRefReverseIt = typename std::list< KeyRef >::const_reverse_iterator
 

Public Member Functions

 VictimIterator (const KeyRefReverseIt &p_Iterator)
 
const Key & operator* () const
 
VictimIteratoroperator++ ()
 
VictimIterator operator++ (int)
 
bool operator== (const VictimIterator &other) const
 
bool operator!= (const VictimIterator &other) const
 

Detailed Description

template<typename Key, typename KeyHash, typename Value>
class cachemere::policy::EvictionLRU< Key, KeyHash, Value >::VictimIterator

Iterator for iterating over cache items in the order they should be evicted.


The documentation for this class was generated from the following files: