|
boat
C++23 geospatial library
|
Thread-safe; capacity is the entry limit. More...
#include <lru.hpp>


Public Member Functions | |
| lru (size_t capacity) | |
| std::any | get (any_hashable const &key) override |
| Returns empty on a miss. | |
| void | put (any_hashable key, std::any val) override |
| cache_stats | stats () const override |
| Public Member Functions inherited from boat::gui::caches::cache | |
| virtual | ~cache ()=default |
Thread-safe; capacity is the entry limit.
|
inlineexplicit |
|
inlineoverridevirtual |
Returns empty on a miss.
Implements boat::gui::caches::cache.
|
inlineoverridevirtual |
Implements boat::gui::caches::cache.
|
inlineoverridevirtual |
Implements boat::gui::caches::cache.