#include <lru.hpp>
|
| | lru (size_t capacity) |
| std::any | get (any_hashable const &key) override |
| | Returns an empty std::any on a miss.
|
| void | put (any_hashable key, std::any val) override |
| virtual | ~cache ()=default |
◆ lru()
| boat::gui::caches::lru::lru |
( |
size_t | capacity | ) |
|
|
inlineexplicit |
◆ get()
| std::any boat::gui::caches::lru::get |
( |
any_hashable const & | | ) |
|
|
inlineoverridevirtual |
◆ put()
| void boat::gui::caches::lru::put |
( |
any_hashable | key, |
|
|
std::any | val ) |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: