blaze
util
constraints
ComplexFloat.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_CONSTRAINTS_COMPLEXFLOAT_H_
36
#define _BLAZE_UTIL_CONSTRAINTS_COMPLEXFLOAT_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/typetraits/IsComplexFloat.h
>
44
45
46
namespace
blaze
{
47
48
//=================================================================================================
49
//
50
// MUST_BE_COMPLEX_FLOAT_TYPE CONSTRAINT
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
62
#define BLAZE_CONSTRAINT_MUST_BE_COMPLEX_FLOAT_TYPE(T) \
63
static_assert( ::blaze::IsComplexFloat_v<T>, "Non-single precision complex type detected" )
64
//*************************************************************************************************
65
66
67
68
69
//=================================================================================================
70
//
71
// MUST_NOT_BE_COMPLEX_TYPE CONSTRAINT
72
//
73
//=================================================================================================
74
75
//*************************************************************************************************
83
#define BLAZE_CONSTRAINT_MUST_NOT_BE_COMPLEX_FLOAT_TYPE(T) \
84
static_assert( !::blaze::IsComplexFloat_v<T>, "Single precision complex type detected" )
85
//*************************************************************************************************
86
87
}
// namespace blaze
88
89
#endif
blaze
Namespace of the Blaze C++ math library.
Definition:
Blaze.h:58
IsComplexFloat.h
Header file for the IsComplexFloat type trait.
Generated on Tue Feb 26 2019 18:47:56 by
1.8.14