[PATCH] D41148: [libcxx] implement <experimental/simd> declarations based on P0214R7.

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 13 12:48:54 PST 2017

timshen marked 4 inline comments as done.
timshen added inline comments.

Comment at: libcxx/include/experimental/simd:1069
+                std::is_same<_Abi, simd_abi::fixed_size<size()>>::value &&
+                __is_non_narrowing_convertible<_Up, _Tp>()>::type>
+  simd(const simd<_Up, simd_abi::fixed_size<size()>>&) {}
lichray wrote:
> Does it causes a problem if the logic of `is_convertible` is folded into `__is_non_narrowing_convertible`?
Avoided to answer this question by sfinae on is_arithmetic.


More information about the cfe-commits mailing list