Blaze 3.9
YieldsUniform.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_YIELDSUNIFORM_H_
36#define _BLAZE_MATH_TYPETRAITS_YIELDSUNIFORM_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
44
45
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
65template< typename OP, typename T, typename... Ts >
67 : public FalseType
68{};
69//*************************************************************************************************
70
71
72//*************************************************************************************************
77template< typename OP, typename T, typename... Ts >
78struct YieldsUniform< const OP, T, Ts... >
79 : public YieldsUniform<OP,T,Ts...>
80{};
82//*************************************************************************************************
83
84
85//*************************************************************************************************
90template< typename OP, typename T, typename... Ts >
91struct YieldsUniform< volatile OP, T, Ts... >
92 : public YieldsUniform<OP,T,Ts...>
93{};
95//*************************************************************************************************
96
97
98//*************************************************************************************************
103template< typename OP, typename T, typename... Ts >
104struct YieldsUniform< const volatile OP, T, Ts... >
105 : public YieldsUniform<OP,T,Ts...>
106{};
108//*************************************************************************************************
109
110
111//*************************************************************************************************
124template< typename OP, typename T, typename... Ts >
125constexpr bool YieldsUniform_v = YieldsUniform<OP,T,Ts...>::value;
126//*************************************************************************************************
127
128} // namespace blaze
129
130#endif
Header file for the IntegralConstant class template.
constexpr bool YieldsUniform_v
Auxiliary variable template for the YieldsUniform type trait.
Definition: YieldsUniform.h:125
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for operations on vectors and matrices.
Definition: YieldsUniform.h:68