Skip to content

function all(const mask<T, N> &) logical

template <typename T, size_t N>
KFR_INTRINSIC bool all(const mask<T, N>& x)

Returns true if all elements are true.

Equivalent to x[0] && x[1] && ... && x[N-1].

Defined at simd/logical.hpp:42