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

Determines if a type is an arithmetic 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 kIsArithmetic
 Determines if a type is an arithmetic type, but not a bool or a special character type.
 

Detailed Description

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

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

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

See also
std::is_arithmetic, Arithmetic

Friends And Related Symbol Documentation

◆ kIsArithmetic

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

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

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