diff --git a/Vc/avx/vector.h b/Vc/avx/vector.h index 8f9a5da34..240406d42 100644 --- a/Vc/avx/vector.h +++ b/Vc/avx/vector.h @@ -94,6 +94,7 @@ template class Vector static constexpr size_t Size = sizeof(VectorType) / sizeof(EntryType); static constexpr size_t MemoryAlignment = alignof(VectorType); using IndexType = fixed_size_simd; + using index_type = IndexType; typedef Vector AsArg; typedef VectorType VectorTypeArg; diff --git a/Vc/scalar/vector.h b/Vc/scalar/vector.h index e7fa7fa8f..f4bda6edf 100644 --- a/Vc/scalar/vector.h +++ b/Vc/scalar/vector.h @@ -76,6 +76,7 @@ template class Vector static constexpr size_t Size = 1; static constexpr size_t MemoryAlignment = alignof(VectorType); using IndexType = fixed_size_simd; + using index_type = IndexType; #include "../common/generalinterface.h" diff --git a/Vc/sse/vector.h b/Vc/sse/vector.h index 42905f0e0..a83c773fc 100644 --- a/Vc/sse/vector.h +++ b/Vc/sse/vector.h @@ -79,6 +79,7 @@ template class Vector using value_type = EntryType; using VectorEntryType = EntryType; using IndexType = fixed_size_simd; + using index_type = IndexType; typedef typename SSE::VectorTraits::MaskType Mask; using MaskType = Mask; using mask_type = Mask;