Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
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
43
#include <
blaze/util/IntegralConstant.h
>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
80
template
<
typename
T >
81
struct
IsInitializer
82
:
public
FalseType
83
{};
84
//*************************************************************************************************
85
86
87
//*************************************************************************************************
92
template
<
typename
T >
93
struct
IsInitializer
< const T >
94
:
public
IsInitializer
<T>
95
{};
97
//*************************************************************************************************
98
99
100
//*************************************************************************************************
105
template
<
typename
T >
106
struct
IsInitializer< volatile T >
107
:
public
IsInitializer<T>
108
{};
110
//*************************************************************************************************
111
112
113
//*************************************************************************************************
118
template
<
typename
T >
119
struct
IsInitializer
< const volatile T >
120
:
public
IsInitializer
<T>
121
{};
123
//*************************************************************************************************
124
125
126
//*************************************************************************************************
139
template
<
typename
T >
140
constexpr
bool
IsInitializer_v
=
IsInitializer<T>::value
;
141
//*************************************************************************************************
142
143
}
// namespace blaze
144
145
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IsInitializer_v
constexpr bool IsInitializer_v
Auxiliary variable template for the IsInitializer type trait.
Definition
IsInitializer.h:140
blaze::FalseType
BoolConstant< false > FalseType
Type/value traits base class.
Definition
IntegralConstant.h:121
blaze::IsInitializer
Compile time check for custom data types.
Definition
IsInitializer.h:83
Generated by
1.18.0