IntegralC.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_INTEGRALC_H_
36 #define _BLAZE_UTIL_MPL_INTEGRALC_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
69 template< typename T, T N >
70 struct IntegralC
71 {
72  public:
73  //**********************************************************************************************
75  static const T value = N;
76  typedef T ValueType;
78  //**********************************************************************************************
79 
80  private:
81  //**********************************************************************************************
85  //**********************************************************************************************
86 };
87 //*************************************************************************************************
88 
89 } // namespace blaze
90 
91 #endif
#define BLAZE_CONSTRAINT_MUST_BE_INTEGRAL_TYPE(T)
Constraint on the data type.In case the given data type T is not an integral data type...
Definition: Integral.h:78
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Constraint on the data type.
Generic wrapper for a compile time constant integral value.The IntegralC class template represents a ...
Definition: IntegralC.h:70