Skip to content

Variable typeclass

variable typeclass meta

template <typename T>
constexpr inline datatype typeclass =
    std::is_floating_point_v<typename compound_type_traits<T>::subtype> ? datatype::f
    : std::is_integral_v<typename compound_type_traits<T>::subtype>
        ? (std::is_unsigned_v<typename compound_type_traits<T>::subtype> ? datatype::u : datatype::i)
        : datatype()

Fully qualified name: kfr::typeclass

Declared at meta/numeric.hpp:124

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