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/mpl/Bool.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 struct Not : public Bool< !C::value >
71 {};
72 //*************************************************************************************************
73 
74 } // namespace blaze
75 
76 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Compile time integral constant wrapper for bool.The Bool class template represents an integral wrappe...
Definition: Bool.h:63
Compile time type negation.The Not class template negates the given compile time condition. In case the given condition would evaluate to true, the nested member enumeration is set to false and vice versa:
Definition: Not.h:70
Header file for the Bool class template.