All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NotEqualTo.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_UTIL_MPL_NOTEQUALTO_H_
23 #define _BLAZE_UTIL_MPL_NOTEQUALTO_H_
24 
25 
26 namespace blaze {
27 
28 //=================================================================================================
29 //
30 // CLASS DEFINITION
31 //
32 //=================================================================================================
33 
34 //*************************************************************************************************
49 template< typename T1 // Type of the left-hand side condition
50  , typename T2 > // Type of the right-hand side condition
51 struct NotEqualTo
52 {
53  public:
54  //**********************************************************************************************
56  enum { value = ( T1::value && !T2::value ) || ( !T1::value && T2::value ) };
58  //**********************************************************************************************
59 };
60 //*************************************************************************************************
61 
62 } // namespace blaze
63 
64 #endif