Minimum.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_MPL_MINIMUM_H_
36 #define _BLAZE_UTIL_MPL_MINIMUM_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/util/mpl/If.h>
44 #include <blaze/util/mpl/Less.h>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
71 template< typename T1 // Type of the first compile time value
72  , typename T2 > // Type of the second compile time value
73 struct Minimum
74  : public If_< Less<T1,T2>, T1, T2 >
75 {};
76 //*************************************************************************************************
77 
78 } // namespace blaze
79 
80 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
Header file for the Less class template.
typename If< T1, T2, T3 >::Type If_
Auxiliary alias declaration for the If class template.The If_ alias declaration provides a convenient...
Definition: If.h:154
Compile time value evaluation.The Minimum alias declaration selects the smaller of the two given temp...
Definition: Minimum.h:73