Blaze 3.9
IsInitializer.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISINITIALIZER_H_
36#define _BLAZE_MATH_TYPETRAITS_ISINITIALIZER_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 IsInitializer< const T >
94 : public IsInitializer<T>
95{};
97//*************************************************************************************************
98
99
100//*************************************************************************************************
105template< typename T >
106struct IsInitializer< volatile T >
107 : public IsInitializer<T>
108{};
110//*************************************************************************************************
111
112
113//*************************************************************************************************
118template< typename T >
119struct IsInitializer< const volatile T >
120 : public IsInitializer<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 IsInitializer_v
Auxiliary variable template for the IsInitializer type trait.
Definition: IsInitializer.h:140
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for custom data types.
Definition: IsInitializer.h:83