Skip to content

Function wrap_bit_value

function wrap_bit_value(const unwrap_bit<T> &) simd

template <typename T>
    requires(is_bit<T>)
KFR_INTRINSIC T wrap_bit_value(const unwrap_bit<T>& value)

Wraps a raw mask value into a bit<T> .

Template parameters
T Must be a bit<U> type.
Parameters
value Raw mask value to wrap.
Returns
A bit whose stored mask is value.

Fully qualified name: kfr::wrap_bit_value(const unwrap_bit<T> &)

Declared at simd/types.hpp:592

Function wrap_bit_value

function wrap_bit_value(const T &) simd

template <typename T>
    requires(!is_bit<T>)
KFR_INTRINSIC T wrap_bit_value(const T& value)

Pass-through overload of wrap_bit_value for non-bit types.

Fully qualified name: kfr::wrap_bit_value(const T &)

Declared at simd/types.hpp:604

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