simdpp::bit_cast

From libsimdpp-docs
template<unsigned N, class V, class F>
void for_each( const any_vec<N, V>& v, const F& function );

Applies a function to each element in the given vector v.

The function is applied sequentially.

Parameters[edit]

v - vector to apply the function to
function - function to apply

Return value[edit]

(none)

Equivalent operation[edit]

function(extract<0>(v));
function(extract<1>(v));
...
function(extract<N>(v));

See also[edit]

sets all elements of a vector to runtime value
(function template)