|
libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
An implementation of an Least Recently Used (LRU) algorithm for selecting victim entries in the cache for flushing. More...
#include <cache.hpp>
Classes | |
| class | criterion_t |
Public Types | |
| typedef Val | value_type |
Public Member Functions | |
| constexpr __stdcall | lru (void) |
| constexpr __stdcall | lru (const value_type &) |
| __stdcall | lru (const lru &) |
| __stdcall | ~lru (void) |
| lru &__fastcall | operator= (const lru &) |
| const value_type &__fastcall | value (void) const noexcept(true) |
| value_type &__fastcall | value (void) noexcept(true) |
| clock_t __fastcall | accessed (void) const noexcept(true) |
Static Public Member Functions | |
| template<typename Iter > | |
| static const criterion_t __fastcall | select (Iter beg, const Iter &end) |
An implementation of an Least Recently Used (LRU) algorithm for selecting victim entries in the cache for flushing.
| typedef Val jmmcg::LIBJMMCG_VER_NAMESPACE::cache::lru< Val >::value_type |
|
inlineconstexpr |
Definition at line 22 of file cache_impl.hpp.
|
inlineexplicitconstexpr |
Definition at line 27 of file cache_impl.hpp.
|
inline |
Definition at line 32 of file cache_impl.hpp.
|
inline |
Definition at line 37 of file cache_impl.hpp.
|
inlinenoexcept |
Definition at line 60 of file cache_impl.hpp.
|
inline |
Definition at line 41 of file cache_impl.hpp.
|
inlinestatic |
|
inlinenoexcept |
Definition at line 48 of file cache_impl.hpp.
|
inlinenoexcept |
Definition at line 54 of file cache_impl.hpp.