Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
YieldsZero.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_YIELDSZERO_H_
36
#define _BLAZE_MATH_TYPETRAITS_YIELDSZERO_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
//*************************************************************************************************
65
template
<
typename
OP,
typename
T,
typename
... Ts >
66
struct
YieldsZero
67
:
public
FalseType
68
{};
69
//*************************************************************************************************
70
71
72
//*************************************************************************************************
77
template
<
typename
OP,
typename
T,
typename
... Ts >
78
struct
YieldsZero
< const OP, T, Ts... >
79
:
public
YieldsZero
<OP,T,Ts...>
80
{};
82
//*************************************************************************************************
83
84
85
//*************************************************************************************************
90
template
<
typename
OP,
typename
T,
typename
... Ts >
91
struct
YieldsZero< volatile OP, T, Ts... >
92
:
public
YieldsZero<OP,T,Ts...>
93
{};
95
//*************************************************************************************************
96
97
98
//*************************************************************************************************
103
template
<
typename
OP,
typename
T,
typename
... Ts >
104
struct
YieldsZero
< const volatile OP, T, Ts... >
105
:
public
YieldsZero
<OP,T,Ts...>
106
{};
108
//*************************************************************************************************
109
110
111
//*************************************************************************************************
124
template
<
typename
OP,
typename
T,
typename
... Ts >
125
constexpr
bool
YieldsZero_v
=
YieldsZero
<OP,T,Ts...>::value;
126
//*************************************************************************************************
127
128
}
// namespace blaze
129
130
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::YieldsZero_v
constexpr bool YieldsZero_v
Auxiliary variable template for the YieldsZero type trait.
Definition
YieldsZero.h:125
blaze::FalseType
BoolConstant< false > FalseType
Type/value traits base class.
Definition
IntegralConstant.h:121
blaze::YieldsZero
Compile time check for operations on vectors and matrices.
Definition
YieldsZero.h:68
Generated by
1.18.0