Blaze 3.9
IsRestricted.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISRESTRICTED_H_
36#define _BLAZE_MATH_TYPETRAITS_ISRESTRICTED_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
44
45
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
80template< typename T >
82 : public FalseType
83{};
84//*************************************************************************************************
85
86
87//*************************************************************************************************
92template< typename T >
93struct IsRestricted< const T >
94 : public IsRestricted<T>
95{};
97//*************************************************************************************************
98
99
100//*************************************************************************************************
105template< typename T >
106struct IsRestricted< volatile T >
107 : public IsRestricted<T>
108{};
110//*************************************************************************************************
111
112
113//*************************************************************************************************
118template< typename T >
119struct IsRestricted< const volatile T >
120 : public IsRestricted<T>
121{};
123//*************************************************************************************************
124
125
126//*************************************************************************************************
139template< typename T >
141//*************************************************************************************************
142
143} // namespace blaze
144
145#endif
Header file for the IntegralConstant class template.
constexpr bool IsRestricted_v
Auxiliary variable template for the IsRestricted type trait.
Definition: IsRestricted.h:140
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for data types with restricted data access.
Definition: IsRestricted.h:83