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

#include <prepared_traits.hpp>

Public Types

using Bindings = typename PlanSchema<PlanT, ContextT>::ResolvedBindings
 
using Resources = UsedResources<PlanT, ContextT>
 
using Sources = typename ResourceKeys<Resources>::type
 

Static Public Attributes

static constexpr bool valid
 
static constexpr bool valid
 

Member Typedef Documentation

◆ Bindings

template<typename PlanT, typename ContextT, typename ErrorT>
using serif::utils::dependencies::detail::PreparedTraits< PlanT, ContextT, ErrorT, true >::Bindings = typename PlanSchema<PlanT, ContextT>::ResolvedBindings

◆ Resources

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

◆ Sources

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

Member Data Documentation

◆ valid [1/2]

bool serif::utils::dependencies::detail::PreparedTraits< PlanT, ContextT, ErrorT, Valid >::valid
staticconstexpr

◆ valid [2/2]

template<typename PlanT, typename ContextT, typename ErrorT>
bool serif::utils::dependencies::detail::PreparedTraits< PlanT, ContextT, ErrorT, true >::valid
staticconstexpr
Initial value:
= ResourceKeys<Resources>::trackable && std::is_object_v<ErrorT> && std::move_constructible<ErrorT> &&
compatible_errors<PlanT, Bindings, ErrorT>(std::make_index_sequence<PlanT::size>{})
consteval bool compatible_errors(std::index_sequence< Indices... >)
Value-returning calculations can share a plan with calculations returning expected<Value,...
Definition prepared_traits.hpp:31
Definition prepared_traits.hpp:21

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