Skip to content

Class bitmask

class bitmask<bits> simd

template <size_t bits>
struct bitmask { … }

Holds an unsigned integer wide enough to store bits bits.

Template parameters
bits Number of bits required.

typedef type

using type = std::conditional_t<
    (bits > 32), uint64_t,
    std::conditional_t<(bits > 16), uint32_t, std::conditional_t<(bits > 8), uint16_t, uint8_t>>>

The unsigned integer type selected for the requested width.

Fully qualified name: kfr::bitmask<bits>::type

Declared at simd/types.hpp:443

constructor bitmask<bits>(type)

bitmask(type val)

Construct from a value of the underlying type.

Fully qualified name: kfr::bitmask<bits>::bitmask<bits>(type)

Declared at simd/types.hpp:448

variable value

type value

The stored bit value.

Fully qualified name: kfr::bitmask<bits>::value

Declared at simd/types.hpp:451

Fully qualified name: kfr::bitmask<bits>

Declared at simd/types.hpp:440

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