File lru.hpp¶
FileList > include > loon > lru.hpp
Go to the source code of this file
Thread-safe LRU (Least Recently Used) cache implementation.
#include <cstdint>#include <optional>#include <unordered_map>#include <vector>
Namespaces¶
| Type | Name |
|---|---|
| namespace | loon |
Classes¶
| Type | Name |
|---|---|
| class | LRU <typename K, typename V> A Least Recently Used ( LRU ) cache with O(1) access and eviction. |
The documentation for this class was generated from the following file include/loon/lru.hpp