Home
last modified time | relevance | path

Searched refs:NumericType (Results 1 – 2 of 2) sorted by relevance

/reactos/sdk/include/ucrt/
H A Dsafeint_internal.h33 template < typename T > class NumericType; variable
35 template <> class NumericType<bool> { public: enum{ isBool = true, isFloat = false, is…
36 template <> class NumericType<char> { public: enum{ isBool = false, isFloat = false, is…
37 template <> class NumericType<unsigned char> { public: enum{ isBool = false, isFloat = false, is…
38 template <> class NumericType<signed char> { public: enum{ isBool = false, isFloat = false, is…
60 static_assert( NumericType<T>::isInt || NumericType<T>::isBool, "non-integral type T" );
81 isBool = NumericType<T>::isBool
308 ( NumericType< FromType >::isFloat &&
309 !NumericType< ToType >::isFloat ) ? CastFromFloat :
312 ( NumericType< ToType >::isFloat &&
[all …]
H A Dsafeint.h418 … static_assert( details::NumericType< T >::isInt , "SafeInt<T>: T needs to be an integer type" ); in SafeInt()
427 … static_assert( details::NumericType< T >::isInt , "SafeInt<T>: T needs to be an integer type" ); in throw()
435 … static_assert( details::NumericType< T >::isInt , "SafeInt<T>: T needs to be an integer type" ); in throw()
442 … static_assert( details::NumericType< T >::isInt , "SafeInt<T>: T needs to be an integer type" ); in SafeInt()
449 … static_assert( details::NumericType< T >::isInt , "SafeInt<T>: T needs to be an integer type" ); in SafeInt()