diff --git a/experimental/bits/simd.h b/experimental/bits/simd.h index 4c893114f..5482cea6e 100644 --- a/experimental/bits/simd.h +++ b/experimental/bits/simd.h @@ -1398,12 +1398,19 @@ template > struct __is_vector_type : false_type {}; template - struct __is_vector_type< - _Tp, void_t()[0])>, sizeof(_Tp)>::type>> - : is_same<_Tp, typename __vector_type< - remove_reference_t()[0])>, - sizeof(_Tp)>::type> {}; +struct __is_vector_type< + _Tp, + enable_if_t()[0])>::type, + sizeof(_Tp)>::type>, + std::is_same< + _Tp, typename __intrinsic_type()[0])>::type, + sizeof(_Tp)>::type>>>> : true_type +{ +}; template inline constexpr bool __is_vector_type_v = __is_vector_type<_Tp>::value;