Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
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_t
Bool_t< !C::value > Not_t
Compile time type negation.
Definition
Not.h:70
blaze::Not_v
constexpr bool Not_v
Auxiliary variable template for the Not_t alias.
Definition
Not.h:87
blaze::Bool_t
IntegralConstant< bool, B > Bool_t
Compile time integral constant wrapper for bool.
Definition
IntegralConstant.h:153
Generated by
1.18.0