All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AddConst.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_UTIL_TYPETRAITS_ADDCONST_H_
23 #define _BLAZE_UTIL_TYPETRAITS_ADDCONST_H_
24 
25 
26 //*************************************************************************************************
27 // Includes
28 //*************************************************************************************************
29 
30 #include <boost/type_traits/add_const.hpp>
31 
32 
33 namespace blaze {
34 
35 //=================================================================================================
36 //
37 // CLASS DEFINITION
38 //
39 //=================================================================================================
40 
41 //*************************************************************************************************
55 template< typename T >
56 struct AddConst
57 {
58  public:
59  //**********************************************************************************************
61  typedef typename boost::add_const<T>::type Type;
63  //**********************************************************************************************
64 };
65 //*************************************************************************************************
66 
67 } // namespace blaze
68 
69 #endif