diff --git a/include/athena/simd/parallelism_v2_simd.hpp b/include/athena/simd/parallelism_v2_simd.hpp index 824a0d6..732d077 100644 --- a/include/athena/simd/parallelism_v2_simd.hpp +++ b/include/athena/simd/parallelism_v2_simd.hpp @@ -1518,9 +1518,10 @@ public: const __simd_storage<_Up, __simd_abi<_StorageKind::_Array, __Unum_element>>& other) { std::copy(other.__native().begin(), other.__native().end(), __storage_.begin()); } - template = 0> + template ), bool> = true, + std::enable_if_t = true> constexpr __simd_storage(_T2... values) : __storage_{values...} {} - template = 0> + template = true> constexpr __simd_storage(_Tp __rv) : __storage_{__rv, __rv, __rv, __rv} {} constexpr const storage_type& __native() const { return __storage_; } };