IsSquare.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSQUARE_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSQUARE_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 //*************************************************************************************************
87 template< typename T >
88 struct IsSquare : public FalseType
89 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct IsSquare< const T > : public IsSquare<T>
100 {};
102 //*************************************************************************************************
103 
104 
105 //*************************************************************************************************
110 template< typename T >
111 struct IsSquare< volatile T > : public IsSquare<T>
112 {};
114 //*************************************************************************************************
115 
116 
117 //*************************************************************************************************
122 template< typename T >
123 struct IsSquare< const volatile T > : public IsSquare<T>
124 {};
126 //*************************************************************************************************
127 
128 } // namespace blaze
129 
130 #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 square matrices.This type trait tests whether or not the given template parame...
Definition: IsSquare.h:88
Header file for the TrueType type/value trait base class.