xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::tools::IsIntegral< Type > Struct Template Reference

Determines if a type is an integral type, but not a bool or a special character type. More...

#include <xentara/utils/tools/TypeTraits.hpp>

Related Symbols

(Note that these are not member symbols.)

template<typename Type >
constexpr bool kIsIntegral
 Determines if a type is an integral type, but not a bool or a special character type.
 
template<typename Type >
constexpr bool kIsIeeeFloatingPoint
 Determines if a type is an IEEE floating point.
 

Detailed Description

template<typename Type>
struct xentara::utils::tools::IsIntegral< Type >

Determines if a type is an integral type, but not a bool or a special character type.

This trait is equivalent to std::is_integral, except that its value is false for the types bool, char, char8_t, char16_t, and char32_t, wchar_t.

See also
std::is_integral, Integral

Friends And Related Symbol Documentation

◆ kIsIeeeFloatingPoint

template<typename Type >
template<typename Type >
constexpr bool kIsIeeeFloatingPoint
related

Determines if a type is an IEEE floating point.

◆ kIsIntegral

template<typename Type >
template<typename Type >
constexpr bool kIsIntegral
related

Determines if a type is an integral type, but not a bool or a special character type.

This value is equivalent to std::is_integral_v, except that it is false for possibly CV-qualified bool, char, wchar_t, char8_t, char16_t, and char32_t.