28 #ifndef VC_COMMON_INTERLEAVE_H_
29 #define VC_COMMON_INTERLEAVE_H_
33 namespace Vc_VERSIONED_NAMESPACE
54 template <typename V, typename = enable_if<Traits::is_simd_vector<V>::value>>
57 return {a.interleaveLow(b), a.interleaveHigh(b)};
61 #endif // VC_COMMON_INTERLEAVE_H_
std::pair< V, V > interleave(const V &a, const V &b)
Interleaves the entries from a and b into two vectors of the same type.