olp-cpp-sdk
1.22.0
|
The default cost operator for LruCache
.
More...
#include <LruCache.h>
Public Member Functions | |
std::size_t | operator() (const T &) const |
Gets the size of the specified object. | |
The default cost operator for LruCache
.
The default implementation returns "1" for every object, which means that each object in the cache is treated as equally sized.