Blaze  3.6
IsLongDouble.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPETRAITS_ISLONGDOUBLE_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ISLONGDOUBLE_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 //*************************************************************************************************
82 template<>
84 struct IsLongDouble<long double>
85  : public TrueType
86 {};
88 //*************************************************************************************************
89 
90 
91 //*************************************************************************************************
93 template<>
95 struct IsLongDouble<const long double>
96  : public TrueType
97 {};
99 //*************************************************************************************************
100 
101 
102 //*************************************************************************************************
104 template<>
106 struct IsLongDouble<volatile long double>
107  : public TrueType
108 {};
110 //*************************************************************************************************
111 
112 
113 //*************************************************************************************************
115 template<>
117 struct IsLongDouble<const volatile long double>
118  : public TrueType
119 {};
121 //*************************************************************************************************
122 
123 
124 //*************************************************************************************************
137 template< typename T >
139 //*************************************************************************************************
140 
141 } // namespace blaze
142 
143 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool IsLongDouble_v
Auxiliary variable template for the IsLongDouble type trait.The IsLongDouble_v variable template prov...
Definition: IsLongDouble.h:138
Header file for the IntegralConstant class template.
Compile time check for extended precision floating point types.This type trait tests whether or not t...
Definition: IsLongDouble.h:74