The Sparta Modeling Framework
|
This templated struct takes a target type and another parameter pack of types and returns a nested boolean value of true, if the target type matches any one of the types in the parameter pack. More...
#include <MetaStructs.hpp>
Static Public Attributes | |
static constexpr bool | value {std::is_same<T, Head>::value or matches_any<T, Tail...>::value} |
This templated struct takes a target type and another parameter pack of types and returns a nested boolean value of true, if the target type matches any one of the types in the parameter pack.
This is template specialization when there are one or more types left in the parameter pack.
Definition at line 185 of file MetaStructs.hpp.
|
staticconstexpr |
Definition at line 186 of file MetaStructs.hpp.