HasMutableDataAccess.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_HASMUTABLEDATAACCESS_H_
36 #define _BLAZE_MATH_TYPETRAITS_HASMUTABLEDATAACCESS_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 //*************************************************************************************************
74 template< typename T >
76  : public FalseType
77 {};
78 //*************************************************************************************************
79 
80 
81 //*************************************************************************************************
86 template< typename T >
87 struct HasMutableDataAccess< const T >
88  : public HasMutableDataAccess<T>
89 {};
91 //*************************************************************************************************
92 
93 
94 //*************************************************************************************************
99 template< typename T >
100 struct HasMutableDataAccess< volatile T >
101  : public HasMutableDataAccess<T>
102 {};
104 //*************************************************************************************************
105 
106 
107 //*************************************************************************************************
112 template< typename T >
113 struct HasMutableDataAccess< const volatile T >
114  : public HasMutableDataAccess<T>
115 {};
117 //*************************************************************************************************
118 
119 } // namespace blaze
120 
121 #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
Compile time check for low-level access to mutable data.This type trait tests whether the given data ...
Definition: HasMutableDataAccess.h:75
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the TrueType type/value trait base class.