#include <computation_store.hpp>
|
| Target & | checked_value () const |
| | A moved-from entry no longer owns an object that a consumer can borrow.
|
| |
◆ Key
template<typename KeyT, typename ComputationT>
◆ Target
template<typename KeyT, typename ComputationT>
◆ OwnedComputation() [1/3]
template<typename KeyT, typename ComputationT>
template<typename ValueT>
requires std::constructible_from<
Target, ValueT>
Give a cache or computation owner a stable address, independent of its store's location.
◆ OwnedComputation() [2/3]
template<typename KeyT, typename ComputationT>
A computation has one owner; use references to share access to it.
◆ OwnedComputation() [3/3]
template<typename KeyT, typename ComputationT>
Transfer ownership without moving the computation itself.
◆ checked_value()
template<typename KeyT, typename ComputationT>
A moved-from entry no longer owns an object that a consumer can borrow.
◆ get() [1/4]
template<typename KeyT, typename ComputationT>
Access the persistent computation, for example to prepare its next state.
◆ get() [2/4]
template<typename KeyT, typename ComputationT>
References cannot safely borrow computations from temporary owners.
◆ get() [3/4]
template<typename KeyT, typename ComputationT>
Read a computation through its owner without allowing it to change.
◆ get() [4/4]
template<typename KeyT, typename ComputationT>
◆ operator=() [1/2]
template<typename KeyT, typename ComputationT>
◆ operator=() [2/2]
template<typename KeyT, typename ComputationT>
Replacing an entry could invalidate references held by prepared operators.
◆ m_value
template<typename KeyT, typename ComputationT>
The documentation for this class was generated from the following file: