IsPadded.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISPADDED_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISPADDED_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/util/FalseType.h>
44 #include <blaze/util/TrueType.h>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
75 template< typename T >
76 struct IsPadded
77  : public FalseType
78 {};
79 //*************************************************************************************************
80 
81 
82 //*************************************************************************************************
87 template< typename T >
88 struct IsPadded< const T >
89  : public IsPadded<T>
90 {};
92 //*************************************************************************************************
93 
94 
95 //*************************************************************************************************
100 template< typename T >
101 struct IsPadded< volatile T >
102  : public IsPadded<T>
103 {};
105 //*************************************************************************************************
106 
107 
108 //*************************************************************************************************
113 template< typename T >
114 struct IsPadded< const volatile T >
115  : public IsPadded<T>
116 {};
118 //*************************************************************************************************
119 
120 } // namespace blaze
121 
122 #endif
Header file for the FalseType type/value trait base class.
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:57
Compile time check for data types with padding.This type trait tests whether the given data type empl...
Definition: IsPadded.h:76
Header file for the TrueType type/value trait base class.