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