#include <generic_shared.hpp>
Key is stored as a regular ref Value is stored as weakref
Definition at line 242 of file generic_shared.hpp.
Public Member Functions | |
void | tocache (const K &key, const T &f, bool needs_lock=true) |
void | tocache_if_missing (const K &key, T &f) |
bool | incache (const K &key, T &f, bool needs_lock=true) const |
void | cache (std::vector< K > &keys, std::vector< T > &entries) const |
|
inline |
Definition at line 290 of file generic_shared.hpp.
|
inline |
Definition at line 276 of file generic_shared.hpp.
|
inline |
Definition at line 244 of file generic_shared.hpp.
|
inline |
Definition at line 267 of file generic_shared.hpp.