Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
IsBLASCompatible.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_ISBLASCOMPATIBLE_H_
36
#define _BLAZE_MATH_TYPETRAITS_ISBLASCOMPATIBLE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/IntegralConstant.h
>
44
#include <
blaze/util/typetraits/IsComplexDouble.h
>
45
#include <
blaze/util/typetraits/IsComplexFloat.h
>
46
#include <
blaze/util/typetraits/IsDouble.h
>
47
#include <
blaze/util/typetraits/IsFloat.h
>
48
49
50
namespace
blaze {
51
52
//=================================================================================================
53
//
54
// CLASS DEFINITION
55
//
56
//=================================================================================================
57
58
//*************************************************************************************************
78
template
<
typename
T >
79
struct
IsBLASCompatible
80
:
public
BoolConstant
< IsFloat_v<T> || IsDouble_v<T> || IsComplexFloat_v<T> || IsComplexDouble_v<T> >
81
{};
82
//*************************************************************************************************
83
84
85
//*************************************************************************************************
98
template
<
typename
T >
99
constexpr
bool
IsBLASCompatible_v
=
IsBLASCompatible<T>::value
;
100
//*************************************************************************************************
101
102
}
// namespace blaze
103
104
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
IsComplexDouble.h
Header file for the IsComplexDouble type trait.
IsComplexFloat.h
Header file for the IsComplexFloat type trait.
IsDouble.h
Header file for the IsDouble type trait.
IsFloat.h
Header file for the IsFloat type trait.
blaze::IsBLASCompatible_v
constexpr bool IsBLASCompatible_v
Auxiliary variable template for the IsBLASCompatible type trait.
Definition
IsBLASCompatible.h:99
blaze::BoolConstant
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition
IntegralConstant.h:110
blaze::IsBLASCompatible
Compile time check for data types.
Definition
IsBLASCompatible.h:81
Generated by
1.18.0