Blaze  3.6
HasConstDataAccess.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_HASCONSTDATAACCESS_H_
36 #define _BLAZE_MATH_TYPETRAITS_HASCONSTDATAACCESS_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
73 template< typename T >
75  : public FalseType
76 {};
77 //*************************************************************************************************
78 
79 
80 //*************************************************************************************************
85 template< typename T >
86 struct HasConstDataAccess< const T >
87  : public HasConstDataAccess<T>
88 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct HasConstDataAccess< volatile T >
100  : public HasConstDataAccess<T>
101 {};
103 //*************************************************************************************************
104 
105 
106 //*************************************************************************************************
111 template< typename T >
112 struct HasConstDataAccess< const volatile T >
113  : public HasConstDataAccess<T>
114 {};
116 //*************************************************************************************************
117 
118 
119 //*************************************************************************************************
132 template< typename T >
134 //*************************************************************************************************
135 
136 } // namespace blaze
137 
138 #endif
Compile time check for low-level access to constant data.This type trait tests whether the given data...
Definition: HasConstDataAccess.h:74
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IntegralConstant class template.
constexpr bool HasConstDataAccess_v
Auxiliary variable template for the HasConstDataAccess type trait.The HasConstDataAccess_v variable t...
Definition: HasConstDataAccess.h:133