SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::model::detail::SelectRole< Role, Specifications > Struct Template Reference

#include <specification_list.hpp>

Public Types

template<typename Specification>
using HasRole = std::bool_constant<Specification::ModelDefinition::role == Role>
 
using Type = utils::misc::concepts::FilterT<utils::types::TypeList<Specifications...>, HasRole>
 

Member Typedef Documentation

◆ HasRole

template<SpecificationRole Role, typename... Specifications>
template<typename Specification>
using serif::model::detail::SelectRole< Role, Specifications >::HasRole = std::bool_constant<Specification::ModelDefinition::role == Role>

◆ Type

template<SpecificationRole Role, typename... Specifications>
using serif::model::detail::SelectRole< Role, Specifications >::Type = utils::misc::concepts::FilterT<utils::types::TypeList<Specifications...>, HasRole>

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