#include "UT_Assert.h"
#include "UT_Function.h"
#include "UT_IteratorRange.h"
#include "UT_NonCopyable.h"
#include <SYS/SYS_Types.h>
#include <SYS/SYS_TypeTraits.h>
#include <list>
#include <type_traits>
#include <unordered_map>
Go to the source code of this file.
template<typename V >
bool UTlruGetItemInUse |
( |
const V & |
| ) |
|
|
inline |
A default helper function used by UT_LRUCache to determine whether an object is currently in use and so should not be deleted when the cache gets pruned.
Definition at line 59 of file UT_LRUCache.h.
template<typename V >
exint UTlruGetItemSize |
( |
const V & |
| ) |
|
|
inline |
A default helper function used by UT_LRUCache to determine the size of the objects it stores to help prune the storage so that it doesn't exceed the maximum given in the constructor.
Definition at line 46 of file UT_LRUCache.h.