#include <resource.hpp>
|
| using | Key = KeyT |
| |
| using | Target = typename StorageT::Target |
| |
| using | Policy = PolicyT |
| |
|
| | Resource (StorageT storage, PolicyT policy) |
| | Keep storage and its tracking policy together under one role key.
|
| |
| const Target & | get () const |
| | Read the resource without allowing computations to mutate their inputs.
|
| |
| const PolicyT & | policy () const |
| | Expose tracking separately from the value passed to a computation.
|
| |
◆ Key
template<typename KeyT, typename StorageT, typename PolicyT>
◆ Policy
template<typename KeyT, typename StorageT, typename PolicyT>
◆ Target
template<typename KeyT, typename StorageT, typename PolicyT>
◆ Resource()
template<typename KeyT, typename StorageT, typename PolicyT>
Keep storage and its tracking policy together under one role key.
◆ get()
template<typename KeyT, typename StorageT, typename PolicyT>
Read the resource without allowing computations to mutate their inputs.
◆ policy()
template<typename KeyT, typename StorageT, typename PolicyT>
Expose tracking separately from the value passed to a computation.
◆ m_policy
template<typename KeyT, typename StorageT, typename PolicyT>
◆ m_storage
template<typename KeyT, typename StorageT, typename PolicyT>
The documentation for this class was generated from the following file: