#include <generic_shared.hpp>
Simple cache template for regular (non-weak) key-value pairs Both key and value are stored as regular references
Definition at line 400 of file generic_shared.hpp.
Public Member Functions | |
| void | tocache (const K &key, const T &value) |
| bool | incache (const K &key, T &value) const |
| const std::unordered_map< K, T > & | cache_map () const |
|
inline |
Definition at line 415 of file generic_shared.hpp.
|
inline |
Definition at line 406 of file generic_shared.hpp.
|
inline |
Definition at line 402 of file generic_shared.hpp.