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
71  : public Bool< !C::value >
72 {};
73 //*************************************************************************************************
74 
75 } // namespace blaze
76 
77 #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:70
Compile time type negation.The Not alias declaration negates the given compile time condition...
Definition: Not.h:70
Header file for the Bool class template.