Blaze
3.9
blaze
util
mpl
Minus.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_MPL_MINUS_H_
36
#define _BLAZE_UTIL_MPL_MINUS_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/util/IntegralConstant.h
>
44
#include <
blaze/util/typetraits/CommonType.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
Minus_t
=
74
IntegralConstant< CommonType_t< typename T1::ValueType, typename T2::ValueType >
75
, ( T1::value - T2::value ) >;
76
//*************************************************************************************************
77
78
}
// namespace blaze
79
80
#endif
CommonType.h
Header file for the CommonType type trait.
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IntegralConstant
Generic wrapper for a compile time constant integral value.
Definition:
IntegralConstant.h:74
Generated by
1.9.3