Blaze
3.9
blaze
util
typetraits
MakeUnsigned.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_MAKEUNSIGNED_H_
36
#define _BLAZE_UTIL_TYPETRAITS_MAKEUNSIGNED_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <type_traits>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
72
template
<
typename
T >
73
struct
MakeUnsigned
74
{
75
public
:
76
//**********************************************************************************************
78
using
Type =
typename
std::make_unsigned<T>::type;
80
//**********************************************************************************************
81
};
82
//*************************************************************************************************
83
84
85
//*************************************************************************************************
98
template
<
typename
T >
99
using
MakeUnsigned_t
=
typename
MakeUnsigned<T>::Type
;
100
//*************************************************************************************************
101
102
}
// namespace blaze
103
104
#endif
blaze::MakeUnsigned_t
typename MakeUnsigned< T >::Type MakeUnsigned_t
Auxiliary alias declaration for the MakeUnsigned type trait.
Definition:
MakeUnsigned.h:99
blaze::MakeUnsigned
Compile time type conversion into an unsigned integral type.
Definition:
MakeUnsigned.h:74
Generated by
1.9.3