Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
IsCustom.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_ISCUSTOM_H_
36
#define _BLAZE_MATH_TYPETRAITS_ISCUSTOM_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
//*************************************************************************************************
85
template
<
typename
T >
86
struct
IsCustom
87
:
public
FalseType
88
{};
89
//*************************************************************************************************
90
91
92
//*************************************************************************************************
97
template
<
typename
T >
98
struct
IsCustom
< const T >
99
:
public
IsCustom
<T>
100
{};
102
//*************************************************************************************************
103
104
105
//*************************************************************************************************
110
template
<
typename
T >
111
struct
IsCustom< volatile T >
112
:
public
IsCustom<T>
113
{};
115
//*************************************************************************************************
116
117
118
//*************************************************************************************************
123
template
<
typename
T >
124
struct
IsCustom
< const volatile T >
125
:
public
IsCustom
<T>
126
{};
128
//*************************************************************************************************
129
130
131
//*************************************************************************************************
144
template
<
typename
T >
145
constexpr
bool
IsCustom_v
=
IsCustom<T>::value
;
146
//*************************************************************************************************
147
148
}
// namespace blaze
149
150
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IsCustom_v
constexpr bool IsCustom_v
Auxiliary variable template for the IsCustom type trait.
Definition
IsCustom.h:145
blaze::FalseType
BoolConstant< false > FalseType
Type/value traits base class.
Definition
IntegralConstant.h:121
blaze::IsCustom
Compile time check for custom data types.
Definition
IsCustom.h:88
Generated by
1.18.0