Skip to content

Variable is_simd_type

variable is_simd_type simd

template <typename T>
constexpr inline bool is_simd_type =
    std::is_same_v<T, float> || std::is_same_v<T, double> || std::is_same_v<T, signed char> ||
    std::is_same_v<T, unsigned char> || std::is_same_v<T, short> || std::is_same_v<T, unsigned short> ||
    std::is_same_v<T, int> || std::is_same_v<T, unsigned int> || std::is_same_v<T, long> ||
    std::is_same_v<T, unsigned long> || std::is_same_v<T, long long> || std::is_same_v<T, unsigned long long>

True when T is one of the scalar types usable as a SIMD element.

Fully qualified name: kfr::is_simd_type

Declared at simd/types.hpp:697

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