Blaze  3.6
IsUnsigned.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPETRAITS_ISUNSIGNED_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ISUNSIGNED_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <type_traits>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
76 template< typename T >
77 struct IsUnsigned
78  : public BoolConstant< std::is_unsigned<T>::value >
79 {};
80 //*************************************************************************************************
81 
82 
83 //*************************************************************************************************
96 template< typename T >
98 //*************************************************************************************************
99 
100 } // namespace blaze
101 
102 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Compile time check for unsigned data types.This type trait tests whether or not the given template pa...
Definition: IsUnsigned.h:77
Header file for the IntegralConstant class template.
constexpr bool IsUnsigned_v
Auxiliary variable template for the IsUnsigned type trait.The IsUnsigned_v variable template provides...
Definition: IsUnsigned.h:97