◆ operator[]() [3/3]
template<typename Type , typename Cardinal >
template<integral_scalar_value Index>
Dynamic lookup via lane indexing. Generate a new eve::wide which is an arbitrary shuffling of current eve::wide lanes. The values of Does not participate in overload resolution if
Example: See it live on Compiler Explorer #include <eve/wide.hpp>
#include <iostream>
int main()
{
// Generates the wide [1 2 4 ... 2^N-1]
std::cout << r << "\n";
// A re-indexing wide
std::cout << l << "\n";
std::cout << r[l] << "\n";
}
|