SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::model::detail::ArgumentsMatch< utils::types::TypeList< Specifications... >, Arguments... > Struct Template Reference

#include <specification_list.hpp>

Static Public Attributes

template<typename Specification>
static constexpr std::size_t count = (std::size_t{0} + ... + std::size_t{std::same_as<Specification, std::remove_cvref_t<Arguments>>})
 
static constexpr bool value = sizeof...(Specifications) == sizeof...(Arguments) && ((count<Specifications> == 1) && ...)
 

Member Data Documentation

◆ count

template<typename... Specifications, typename... Arguments>
template<typename Specification>
std::size_t serif::model::detail::ArgumentsMatch< utils::types::TypeList< Specifications... >, Arguments... >::count = (std::size_t{0} + ... + std::size_t{std::same_as<Specification, std::remove_cvref_t<Arguments>>})
staticconstexpr

◆ value

template<typename... Specifications, typename... Arguments>
bool serif::model::detail::ArgumentsMatch< utils::types::TypeList< Specifications... >, Arguments... >::value = sizeof...(Specifications) == sizeof...(Arguments) && ((count<Specifications> == 1) && ...)
staticconstexpr

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