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 <boost/type_traits/make_unsigned.hpp>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
72 template< typename T >
74 {
75  public:
76  //**********************************************************************************************
78  typedef typename boost::make_unsigned<T>::type Type;
80  //**********************************************************************************************
81 };
82 //*************************************************************************************************
83 
84 } // namespace blaze
85 
86 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Compile time type conversion into an unsigned integral type.This type trait provides the feature to c...
Definition: MakeUnsigned.h:73