#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, bool prune=true) |
| void | tocache_if_missing (const K &key, T &f, bool prune=true) |
| bool | incache (const K &key, T &f, bool needs_lock=true) const |
| void | prune () |
| void | cache (std::vector< K > &keys, std::vector< T > &entries) const |
|
inline |
Definition at line 313 of file generic_shared.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 244 of file generic_shared.hpp.
|
inline |
Definition at line 276 of file generic_shared.hpp.
Referenced by casadi::CallSX::get_output().