IntegralConstant.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_INTEGRALCONSTANT_H_
36 #define _BLAZE_UTIL_INTEGRALCONSTANT_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <type_traits>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
70 template< typename T, T N >
72  : public std::integral_constant<T,N>
73 {
74  //**********************************************************************************************
76  using ValueType = T;
77  using Type = IntegralConstant<T,N>;
79  //**********************************************************************************************
80 };
81 //*************************************************************************************************
82 
83 
84 //*************************************************************************************************
100 template< bool B >
102 //*************************************************************************************************
103 
104 } // namespace blaze
105 
106 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58