IsSubvector.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSUBVECTOR_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSUBVECTOR_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 #include <blaze/util/FalseType.h>
45 #include <blaze/util/TrueType.h>
46 
47 
48 namespace blaze {
49 
50 //=================================================================================================
51 //
52 // CLASS DEFINITION
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
84 template< typename T >
86  : public FalseType
87 {};
88 //*************************************************************************************************
89 
90 
91 //*************************************************************************************************
96 template< typename VT, bool AF, bool TF, bool DF >
97 struct IsSubvector< Subvector<VT,AF,TF,DF> >
98  : public TrueType
99 {};
101 //*************************************************************************************************
102 
103 
104 //*************************************************************************************************
109 template< typename VT, bool AF, bool TF, bool DF >
110 struct IsSubvector< const Subvector<VT,AF,TF,DF> >
111  : public TrueType
112 {};
114 //*************************************************************************************************
115 
116 
117 //*************************************************************************************************
122 template< typename VT, bool AF, bool TF, bool DF >
123 struct IsSubvector< volatile Subvector<VT,AF,TF,DF> >
124  : public TrueType
125 {};
127 //*************************************************************************************************
128 
129 
130 //*************************************************************************************************
135 template< typename VT, bool AF, bool TF, bool DF >
136 struct IsSubvector< const volatile Subvector<VT,AF,TF,DF> >
137  : public TrueType
138 {};
140 //*************************************************************************************************
141 
142 } // namespace blaze
143 
144 #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
Header file for all forward declarations for views.
Compile time check for subvectors.This type trait tests whether or not the given template parameter i...
Definition: IsSubvector.h:85
Header file for the TrueType type/value trait base class.