Blaze
3.9
blaze
util
mpl
Not.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_MPL_NOT_H_
36
#define _BLAZE_UTIL_MPL_NOT_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
//*************************************************************************************************
69
template
<
typename
C >
// Condition to be negated
70
using
Not_t
=
Bool_t< !C::value >
;
71
//*************************************************************************************************
72
73
74
//*************************************************************************************************
86
template
<
typename
C >
// Condition to be negated
87
constexpr
bool
Not_v
=
Not_t<C>::value
;
88
//*************************************************************************************************
89
90
}
// namespace blaze
91
92
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::Not_v
constexpr bool Not_v
Auxiliary variable template for the Not_t alias.
Definition:
Not.h:87
blaze::IntegralConstant
Generic wrapper for a compile time constant integral value.
Definition:
IntegralConstant.h:74
Generated by
1.9.3