Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
util
mpl
Less.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_MPL_LESS_H_
36
#define _BLAZE_UTIL_MPL_LESS_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/IntegralConstant.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
using
Less_t
=
Bool_t
< ( T1::value < T2::value ) >;
75
//*************************************************************************************************
76
77
78
//*************************************************************************************************
91
template
<
typename
T1
// The type of the left-hand side operand
92
,
typename
T2 >
// The type of the right-hand side operand
93
constexpr
bool
Less_v
=
Less_t<T1,T2>::value
;
94
//*************************************************************************************************
95
96
}
// namespace blaze
97
98
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::Less_v
constexpr bool Less_v
Auxiliary variable template for the Less_t alias.
Definition
Less.h:93
blaze::Less_t
Bool_t<(T1::value< T2::value) > Less_t
Compile time type comparison.
Definition
Less.h:74
blaze::Bool_t
IntegralConstant< bool, B > Bool_t
Compile time integral constant wrapper for bool.
Definition
IntegralConstant.h:153
Generated by
1.18.0