Computes the type compatible with a list of values. More...
#include <eve/traits/common_compatible.hpp>
Required header: #include <eve/traits/common_compatible.hpp>
If all Ts...
are all identical to a given T
and model eve::value, provides the member typedef type
which is defined as T
.
If Ts...
contains a set of types modeling eve::scalar_value and a set of types modeling eve::simd_value all identical to a given T
, provides the member typedef type
which is defined as T
.
Otherwise, the program is ill-formed.
Ts | Variadic list of types to process |
Name | Definition |
---|---|
type | The type defined as compatible with all Ts... |
See it live on Compiler Explorer