SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::dependencies::detail::ComputationCacheTraits< GraphT, ContextT, ErrorT, true > Struct Template Reference

#include <cache_traits.hpp>

Public Types

using Bindings = typename ComputationGraphSchema<GraphT, ContextT>::ResolvedBindings
 
using Resources = UsedResources<GraphT, ContextT>
 
using Sources = typename ResourceKeys<Resources>::type
 

Static Public Attributes

static constexpr bool valid
 
static constexpr bool valid
 

Member Typedef Documentation

◆ Bindings

template<typename GraphT, typename ContextT, typename ErrorT>
using serif::utils::dependencies::detail::ComputationCacheTraits< GraphT, ContextT, ErrorT, true >::Bindings = typename ComputationGraphSchema<GraphT, ContextT>::ResolvedBindings

◆ Resources

template<typename GraphT, typename ContextT, typename ErrorT>
using serif::utils::dependencies::detail::ComputationCacheTraits< GraphT, ContextT, ErrorT, true >::Resources = UsedResources<GraphT, ContextT>

◆ Sources

template<typename GraphT, typename ContextT, typename ErrorT>
using serif::utils::dependencies::detail::ComputationCacheTraits< GraphT, ContextT, ErrorT, true >::Sources = typename ResourceKeys<Resources>::type

Member Data Documentation

◆ valid [1/2]

bool serif::utils::dependencies::detail::ComputationCacheTraits< GraphT, ContextT, ErrorT, Valid >::valid
staticconstexpr

◆ valid [2/2]

template<typename GraphT, typename ContextT, typename ErrorT>
bool serif::utils::dependencies::detail::ComputationCacheTraits< GraphT, ContextT, ErrorT, true >::valid
staticconstexpr
Initial value:
= ResourceKeys<Resources>::trackable && std::is_object_v<ErrorT> && std::move_constructible<ErrorT> &&
compatible_errors<GraphT, Bindings, ErrorT>(std::make_index_sequence<GraphT::size>{})
consteval bool compatible_errors(std::index_sequence< Indices... >)
Value-returning calculations can share a graph with expected results carrying its declared error or a...
Definition cache_traits.hpp:41

The documentation for this struct was generated from the following file: