All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AddCV.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPETRAITS_ADDCV_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ADDCV_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <boost/type_traits/add_cv.hpp>
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
69 template< typename T >
70 struct AddCV
71 {
72  public:
73  //**********************************************************************************************
75  typedef typename boost::add_cv<T>::type Type;
77  //**********************************************************************************************
78 };
79 //*************************************************************************************************
80 
81 } // namespace blaze
82 
83 #endif
Addition of a top level &#39;const&#39; and &#39;volatile&#39; qualifier.The AddCV type trait adds both a top level &#39;...
Definition: AddCV.h:70