Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
util
mpl
Min.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_MPL_MIN_H_
36
#define _BLAZE_UTIL_MPL_MIN_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
using
Min_t
=
If_t< Less_t<T1,T2>::value
, T1, T2 >;
74
//*************************************************************************************************
75
76
}
// namespace blaze
77
78
#endif
If.h
Header file for the If class template.
blaze::Min_t
If_t< Less_t< T1, T2 >::value, T1, T2 > Min_t
Compile time value evaluation.
Definition
Min.h:73
blaze::If_t
typename If< Condition >::template Type< T1, T2 > If_t
Auxiliary alias template for the If class template.
Definition
If.h:108
Less.h
Header file for the Less_t alias template.
Generated by
1.18.0