Convert __m128i value into std::tuple

Viewed 167

Imagine that, after some SIMD calculations, I get a __m128i value with the fourth field with a useless zero value. Is there a simple and portable way to cast the other three fields into a std::tuple<int,int,int>, bearing in mind it is not standard layout?

1 Answers
Related