All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Greater.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_GREATER_H_
36 #define _BLAZE_UTIL_MPL_GREATER_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 // The type of the left-hand side operand
73  , typename T2 > // The type of the right-hand side operand
74 struct Greater : public Bool< ( T1::value > T2::value ) >
75 {};
76 //*************************************************************************************************
77 
78 } // namespace blaze
79 
80 #endif
Compile time type comparison.The Greater class template compares the two given types using the greate...
Definition: Greater.h:74
Compile time integral constant wrapper for bool.The Bool class template represents an integral wrappe...
Definition: Bool.h:63
Header file for the Bool class template.