Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
YieldsUpper.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_YIELDSUPPER_H_
36
#define _BLAZE_MATH_TYPETRAITS_YIELDSUPPER_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/typetraits/YieldsStrictlyUpper.h
>
44
#include <
blaze/math/typetraits/YieldsUniUpper.h
>
45
#include <
blaze/util/IntegralConstant.h
>
46
47
48
namespace
blaze {
49
50
//=================================================================================================
51
//
52
// CLASS DEFINITION
53
//
54
//=================================================================================================
55
56
//*************************************************************************************************
66
template
<
typename
OP,
typename
MT,
typename
... MTs >
67
struct
YieldsUpper
68
:
public
BoolConstant
< YieldsUniUpper_v<OP,MT,MTs...> || YieldsStrictlyUpper_v<OP,MT,MTs...> >
69
{};
70
//*************************************************************************************************
71
72
73
//*************************************************************************************************
78
template
<
typename
OP,
typename
MT,
typename
... MTs >
79
struct
YieldsUpper
< const OP, MT, MTs... >
80
:
public
YieldsUpper
<OP,MT,MTs...>
81
{};
83
//*************************************************************************************************
84
85
86
//*************************************************************************************************
91
template
<
typename
OP,
typename
MT,
typename
... MTs >
92
struct
YieldsUpper< volatile OP, MT, MTs... >
93
:
public
YieldsUpper<OP,MT,MTs...>
94
{};
96
//*************************************************************************************************
97
98
99
//*************************************************************************************************
104
template
<
typename
OP,
typename
MT,
typename
... MTs >
105
struct
YieldsUpper
< const volatile OP, MT, MTs... >
106
:
public
YieldsUpper
<OP,MT,MTs...>
107
{};
109
//*************************************************************************************************
110
111
112
//*************************************************************************************************
125
template
<
typename
OP,
typename
MT,
typename
... MTs >
126
constexpr
bool
YieldsUpper_v
=
YieldsUpper
<OP,MT,MTs...>::value;
127
//*************************************************************************************************
128
129
}
// namespace blaze
130
131
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
YieldsStrictlyUpper.h
Header file for the YieldsStrictlyUpper type trait.
YieldsUniUpper.h
Header file for the YieldsUniUpper type trait.
blaze::YieldsUpper_v
constexpr bool YieldsUpper_v
Auxiliary variable template for the YieldsUpper type trait.
Definition
YieldsUpper.h:126
blaze::BoolConstant
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition
IntegralConstant.h:110
blaze::YieldsUpper
Compile time check for operations on matrices.
Definition
YieldsUpper.h:69
Generated by
1.18.0