SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::dependencies::detail::HasBinding< Bindings< BindingTs... >, KeyT > Struct Template Reference

#include <binding.hpp>

Static Public Attributes

static constexpr bool value
 

Member Data Documentation

◆ value

template<typename KeyT, typename... BindingTs>
bool serif::utils::dependencies::detail::HasBinding< Bindings< BindingTs... >, KeyT >::value
staticconstexpr
Initial value:
= [] {
constexpr std::array<bool, sizeof...(BindingTs)> matches{std::is_same_v<KeyT, typename BindingTs::Key>...};
for (const bool match : matches) {
if (match) { return true; }
}
return false;
}()

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