#include <dependency_context.hpp>
|
| | explicit (sizeof...(ResourceTs) !=0) DependencyContext(ResourceTs... resources) |
| | Each resource explicitly chooses owned or borrowed storage.
|
| |
template<typename KeyT>
requires BindingsWithBinding<Bindings, KeyT> |
| const auto & | get () const |
| | Retrieve a resource by role even when several roles have the same target type.
|
| |
template<typename KeyT>
requires BindingsWithBinding<Bindings, KeyT> |
| const auto & | resource () const |
| | Access the value together with the policy used to track it.
|
| |
template<IsKeyList KeysT>
requires SatisfiesKeyList<Bindings, KeysT> |
| auto | select (KeysT) const & |
| | Select declared roles without copying their objects or tracking policies.
|
| |
| template<IsKeyList KeysT> |
| auto | select (KeysT) const &&=delete |
| | A view cannot safely borrow a temporary context.
|
| |
◆ Bindings
template<IsResource... ResourceTs>
◆ Keys
template<IsResource... ResourceTs>
◆ ResourceBindings
template<IsResource... ResourceTs>
◆ Resources
template<IsResource... ResourceTs>
◆ explicit()
template<IsResource... ResourceTs>
Each resource explicitly chooses owned or borrowed storage.
◆ get()
template<IsResource... ResourceTs>
template<typename KeyT>
requires BindingsWithBinding<
Bindings, KeyT>
Retrieve a resource by role even when several roles have the same target type.
◆ resource()
template<IsResource... ResourceTs>
template<typename KeyT>
requires BindingsWithBinding<
Bindings, KeyT>
Access the value together with the policy used to track it.
◆ select() [1/2]
template<IsResource... ResourceTs>
template<IsKeyList KeysT>
requires SatisfiesKeyList<
Bindings, KeysT>
Select declared roles without copying their objects or tracking policies.
◆ select() [2/2]
template<IsResource... ResourceTs>
template<IsKeyList KeysT>
A view cannot safely borrow a temporary context.
◆ m_resources
template<IsResource... ResourceTs>
The documentation for this class was generated from the following file: