[libcxx-commits] [libcxx] [libc++] <experimental/simd> Add ++/-- operators for simd reference (PR #88091)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 12 03:11:54 PDT 2024


philnik777 wrote:

> @philnik777 It seems that the floating-point types do support the ++ and -- operators (https://godbolt.org/z/GMcj5nb96). Now, I’ve added traits that check if operators exist and all the results for test types are the same. Is it necessary to keep these code?

That's... surprising. In that case what's the point of the constraint? There should be some way to test them, otherwise they're just garbage.

https://github.com/llvm/llvm-project/pull/88091


More information about the libcxx-commits mailing list