|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Keep typed bindings alive beside the resources they borrow; neither copying a configuration nor restoring it copies these resources. More...
#include <resources.hpp>
Public Types | |
| template<typename Key> | |
| using | Binding = std::remove_cvref_t<decltype(std::declval<Context>().template get<Key>())> |
Public Member Functions | |
| auto | context () const |
| Borrow each stable binding through the existing computational-graph input vocabulary. | |
Public Attributes | |
| Resources | resources |
| std::tuple< std::unique_ptr< Binding< Keys > >... > | bindings |
Keep typed bindings alive beside the resources they borrow; neither copying a configuration nor restoring it copies these resources.
| using serif::discretization::backend::mfem::OwnedBindings< Context, utils::dependencies::KeyList< Keys... > >::Binding = std::remove_cvref_t<decltype(std::declval<Context>().template get<Key>())> |
|
inlinenodiscard |
Borrow each stable binding through the existing computational-graph input vocabulary.
| std::tuple<std::unique_ptr<Binding<Keys> >...> serif::discretization::backend::mfem::OwnedBindings< Context, utils::dependencies::KeyList< Keys... > >::bindings |
| Resources serif::discretization::backend::mfem::OwnedBindings< Context, utils::dependencies::KeyList< Keys... > >::resources |