39template<
typename T >
class Cache {
50 assert( pbFound !=
nullptr);
56 list_.push_front( rContent);
70 typename LruItMap::iterator lru =
map_.find( --
list_.end());
86 typedef std::map< LruListIt, IdxType, CmpT >
LruItMap;
Cache & operator=(const Cache &)=delete
LruList::iterator LruListIt
std::map< LruListIt, IdxType, CmpT > LruItMap
Cache(const Cache &)=delete
IdxType add(const T &rContent, bool *pbFound)
DECL_LISTENERMULTIPLEXER_END void SAL_CALL inserted(::sal_Int32 ID) override
bool operator()(const LruListIt &rA, const LruListIt &rB) const