Skip to content

Function maskbits

function maskbits(bool) simd

template <typename T>
constexpr inline T maskbits(bool value) { … }

Returns all-ones or all-zeros of type T depending on value.

Template parameters
T Target element type.
Parameters
value When true, all bits are set; otherwise all bits are cleared.
Returns
The mask value.

Fully qualified name: kfr::maskbits(bool)

Declared at simd/types.hpp:461

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.