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

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

#include <eviction_segmented_lru.h>

Public Types

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

Public Member Functions

 VictimIterator (const KeyRefReverseIt &probation_iterator, const KeyRefReverseIt &probation_end_iterator, const KeyRefReverseIt &protected_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::EvictionSegmentedLRU< Key, KeyHash, Value >::VictimIterator

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


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