Xnor.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_XNOR_H_
36 #define _BLAZE_UTIL_MPL_XNOR_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 //*************************************************************************************************
72 template< typename T1 // Type of the first operand
73  , typename T2 > // Type of the second operand
74 struct Xnor
75  : public Bool< !( T1::value ^ T2::value ) >
76 {};
77 //*************************************************************************************************
78 
79 } // namespace blaze
80 
81 #endif
Compile time logical &#39;not xor&#39; evaluation.The Xor alias declaration performs at compile time a logica...
Definition: Xnor.h:74
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Compile time integral constant wrapper for bool.The Bool class template represents an integral wrappe...
Definition: Bool.h:70
Header file for the Bool class template.