All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 <boost/type_traits/make_signed.hpp>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
72 template< typename T >
73 struct MakeSigned
74 {
75  public:
76  //**********************************************************************************************
78  typedef typename boost::make_signed<T>::type Type;
80  //**********************************************************************************************
81 };
82 //*************************************************************************************************
83 
84 } // namespace blaze
85 
86 #endif
Compile time type conversion into a signed integral type.This type trait provides the feature to conv...
Definition: MakeSigned.h:73